I have been using Post SMTP since Nov, 2017 with great success. Thanks for your continued support, especially the updated guide, and the SMTP fallback feature.
I had an issue recently trying to get OAUTH permission from Google while trying to configure the plugin (v1.9.8) on a new website.
Using the Guide, I couldn’t seem to get past Step 18: Choose an Account.
At step 19, instead of showing the ‘Approve App’ screen, I got an ‘App not Approved’ warning.
I clicked on the ‘Advanced’ link. This exposed a section which offered a link to ignore the warning and go to website anyway.
I clicked the link and was sent back to my website to the options-general page for the postman plugin. The page load failed with a MOD_SECURITY warning.
I had to modify the scope parameter in the url from &scope=https://mail.google.com/ to &scope=mail.google.com
I reloaded the page using the modified url and voila, OAUTH permission granted!
I sent a test email to validate the change. Everything is working as expected.
Thought this might help if someone else encounters the same issue.
PS. the MOD_SECURITY error message was:
“Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.”
7 thoughts on “How to configure Post SMTP with Gmail/Gsuite using oAuth”
Awesome article Yehuda. You rock! Many thanks!
Thanks !
Dude you are great
Great read!! Thanx!
Thank you so much for both the fork and this easy guide!
Hi Yehuda,
I have been using Post SMTP since Nov, 2017 with great success. Thanks for your continued support, especially the updated guide, and the SMTP fallback feature.
I had an issue recently trying to get OAUTH permission from Google while trying to configure the plugin (v1.9.8) on a new website.
Using the Guide, I couldn’t seem to get past Step 18: Choose an Account.
At step 19, instead of showing the ‘Approve App’ screen, I got an ‘App not Approved’ warning.
I clicked on the ‘Advanced’ link. This exposed a section which offered a link to ignore the warning and go to website anyway.
I clicked the link and was sent back to my website to the options-general page for the postman plugin. The page load failed with a MOD_SECURITY warning.
I had to modify the scope parameter in the url from &scope=https://mail.google.com/ to &scope=mail.google.com
I reloaded the page using the modified url and voila, OAUTH permission granted!
I sent a test email to validate the change. Everything is working as expected.
Thought this might help if someone else encounters the same issue.
PS. the MOD_SECURITY error message was:
“Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.”