• Resolved rickski

    (@rickski)


    Your WP Mail SMTP Plugin seems to have a Bug just before this line in your doco…

    Awesome job! You’ve now successfully connected WP Mail SMTP with the Gmail SMTP settings using the manual API method!

    We enter Client ID, Client Secret, Authorised Redirect URI
    Then Connect to Google

    Google then displays
    wpmailsmtp.com wants access to your Google Account

    email@gmail.com
    This app hasn’t been verified by Google.
    If you’re the app developer, you need to submit a request to have this app verified by Google. Otherwise, some of this app’s access to Google user data may be lost. Learn more
    When you allow this access, wpmailsmtp.com will be able to

    Read, compose, send, and permanently delete all your email from Gmail. Learn more
    Make sure you trust wpmailsmtp.com
    Learn why you're not seeing links to wpmailsmtp.com's Privacy Policy or Terms of Service
    Review wpmailsmtp.com's Privacy Policy and Terms of Service to understand how wpmailsmtp.com will process and protect your data.
    To make changes at any time, go to your Google Account.
    Learn how Google helps you share data safely.

    BUT there is no Allow or Grant button, only Continue.

    When we press Continue, the plugin returns to page
    https://.../wp-admin/admin.php?page=wp-mail-smtp-setup-wizard#/step/configure_mailer/gmail

    And displays popup
    Authorisation Error!
    There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.
    OK

    The plugin does NOT allow us to get to the Google screen where we can Grant permission.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rickski

    (@rickski)

    NOTE: Running Windows 11 and a localhost dev environment.

    After completing the following steps I was able to complete the Google Authorisation and finish the WP Mail SMTP setup wizard.

    1 Download cacert.pem from https://curl.se/docs/caextract.html

    2 Copy cacert.pem to PHP folder extras\ssl OR new folder certificates
    ie. C:\Program Files\PHP\v8.5\extras\ssl
    ie. C:\Program Files\PHP\v8.5\certificates

    3 Edit php.ini

    ; cURL error 60: SSL certificate problem: unable to get local issuer certificate
    curl.cainfo = “C:/Program Files/PHP/v8.5/certificates/cacert.pem”

    ; cURL error 77: error adding trust anchors from file: ”C:/Program Files/PHP/v8.5/certificates/cacert.pem”
    openssl.cafile = “C:/Program Files/PHP/v8.5/certificates/cacert.pem”

    4 IIS Restart server

    Plugin Support Shawon Chowdhury

    (@shawon001)

    Hi @rickski ,

    Thanks for the update and we are glad that you were able to resolve the issue.
    Please feel free to open a new thread if you need any other help in the future.

    Have a good one 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.