Title: Problem setting up Gmail connection
Last modified: December 29, 2022

---

# Problem setting up Gmail connection

 *  Resolved [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/)
 * I followed the instructions on
 * but when I click the button “Allow plugin to send emails using your Google account”
   I get the following error message from Google:
 * _Access blocked: wpmailsmtp.com did not complete the Google verification process._
 * _[XXXXXXXX@gmail.com](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/XXXXXXXX@gmail.com?output_format=md)
   
   wpmailsmtp.com did not go through the Google verification process. The app is
   currently being tested and is only accessible to developer-approved testers. 
   If you believe you should have access, please contact the developer.If you are
   the developer of wpmailsmtp.com, see the error details.
 * Is this something on my part or why do I get this error?
 * Thank you for your assistance
 * Sascha

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

 *  Thread Starter [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/#post-16328625)
 * When I edit the OAuth settings in Google once again, I am required to add my 
   own domain as the allowed domain, in addition to wpmailsmtp.com 
   Now I get an
   Error 500 from Google when I want to allow the plugin to use the Gmail account.
   Weird.
 *  Plugin Support [Dake](https://wordpress.org/support/users/dakeg/)
 * (@dakeg)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/#post-16328905)
 * Hi [@superninchen](https://wordpress.org/support/users/superninchen/) ,
 * Thank you for reaching out to us and we’re sorry to hear that you’re having issues
   with setting up the Google Mailer.
 * That really is strange as I am completely unable to reproduce the issue on my
   end.
 * Just to confirm did you follow all the instructions outlined in [this section](https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/?utm_source=WordPress&utm_medium=plugin-settings&utm_campaign=plugin&utm_content=Gmail%20documentation)
   of our documentation? If you did, then we’d recommend trying to perform the authorization
   step in an incognito/private browsing window in your browser of choice. That 
   way you can ensure that the appropriate Google account is being used when attempting
   the authorization.
 * Also, in case you continue to run into issues, we’d recommend testing one of 
   [our other mailers](https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/).
 * In case it helps to know, SendLayer offers a free trial that allows you to send
   up to 200 emails (this is more than enough to perform a quick test). You can 
   find more instructions for setting up the SendLayer mailer [here](https://wpmailsmtp.com/docs/how-to-set-up-the-sendlayer-mailer-in-wp-mail-smtp/).
 * I hope this helps, if you have any more questions, please feel free to let us
   know.
 * Thanks 🙂
 *  Thread Starter [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/#post-16330549)
 * I got the connection to work, finally. Trying a different mail account I took
   notice this time that in the step where you create a new project there was no
   organisation selectable to add the project to. That got me thinking. What was
   missing was the entire setup of a new administrative user, creating an organisation,
   verifiying the domain, and adding the mail account as administrator and project
   creator, before I could add the project as described in the above mentioned documentation.
   
   Now the Gmail account seems to be connected successfully, as per the confirmation
   message from the plugin.However, I cannot send e-mails with Ninja forms. I tested
   the contact form and see the following error message in the log of WP Mail SMTP.
 * The same error occurs when using the Test E-Mail feature of the plugin, by the
   way. 
   `Mailer: Google / Gmail { "error": { "code": 400, "message": "Mail service
   not enabled", "errors": [{ "message": "Mail service not enabled", "domain": "
   global", "reason": "failedPrecondition" }], "status": "FAILED_PRECONDITION" }}
   What’s the issue here, now? I am absolutely positive that the Gmail API is active,
   enabled and set to “External”.
    -  This reply was modified 3 years, 5 months ago by [superninchen](https://wordpress.org/support/users/superninchen/).
 *  Thread Starter [superninchen](https://wordpress.org/support/users/superninchen/)
 * (@superninchen)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/#post-16330634)
 * Found the reason for this now, too. I had created the credentials with the afore
   mentioned administrative user, which isn’t the same as the gmail account for 
   which I want to use WP Mail SMTP. 
   After removing the OAuth connection and establishing
   it once again, this time logging in with the Gmail address as the google account(
   not the address of the administrative user), I got through the steps of confirming
   that the app can be trusted and is allowed to send mails. Now it’s working, and
   I can even send mails to other Gmail addresses, which wasn’t possible before 
   as Google discarded the mails before even putting them into the spam folder.Case
   closed!

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

The topic ‘Problem setting up Gmail connection’ is closed to new replies.

 * ![](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/)

 * 4 replies
 * 2 participants
 * Last reply from: [superninchen](https://wordpress.org/support/users/superninchen/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/problem-setting-up-gmail-connection/#post-16330634)
 * Status: resolved