Title: Plugin cannot authorise Gmail
Last modified: February 28, 2026

---

# Plugin cannot authorise Gmail

 *  Resolved [rickski](https://wordpress.org/support/users/rickski/)
 * (@rickski)
 * [3 months ago](https://wordpress.org/support/topic/plugin-cannot-authorise-gmail/)
 *     ```wp-block-code
       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 URIThen Connect to GoogleGoogle then displayswpmailsmtp.com wants access to your Google Accountemail@gmail.comThis 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 moreWhen you allow this access, wpmailsmtp.com will be able toRead, compose, send, and permanently delete all your email from Gmail. Learn moreMake sure you trust wpmailsmtp.comLearn why you're not seeing links to wpmailsmtp.com's Privacy Policy or Terms of ServiceReview 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 pagehttps://.../wp-admin/admin.php?page=wp-mail-smtp-setup-wizard#/step/configure_mailer/gmailAnd displays popupAuthorisation Error!There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.OKThe plugin does NOT allow us to get to the Google screen where we can Grant permission.
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-cannot-authorise-gmail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [rickski](https://wordpress.org/support/users/rickski/)
 * (@rickski)
 * [3 months ago](https://wordpress.org/support/topic/plugin-cannot-authorise-gmail/#post-18837057)
 * 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](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\sslie. 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](https://wordpress.org/support/users/shawon001/)
 * (@shawon001)
 * [3 months ago](https://wordpress.org/support/topic/plugin-cannot-authorise-gmail/#post-18838731)
 * Hi [@rickski](https://wordpress.org/support/users/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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-cannot-authorise-gmail%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [cURL error 60](https://wordpress.org/support/topic-tag/curl-error-60/)
 * [gmail](https://wordpress.org/support/topic-tag/gmail/)

 * 2 replies
 * 2 participants
 * Last reply from: [Shawon Chowdhury](https://wordpress.org/support/users/shawon001/)
 * Last activity: [3 months ago](https://wordpress.org/support/topic/plugin-cannot-authorise-gmail/#post-18838731)
 * Status: resolved