Help! How do I set up OAuth for email? The basic method doesn’t work on the live server. Thank you in advance.
1 Like
Thank you for your response. It’s Gmail
hello @Pejay:
-
basic authentication is work on live server, you need to setup this in proper way.
-
Here are the steps that you can follow:
- Enable 2-Step Verification:
- Go to your Google Account.
- Navigate to
Security
. - Under “Signing in to Google,” ensure that 2-Step Verification is turned on.
- Generate App Password:
- After enabling 2-Step Verification, go back to
Security
. - Under “Signing in to Google,” you’ll see an option for
App Passwords
. - Select
App Passwords
, and you may be prompted to enter your Google password. - Choose the app you’re using (e.g., “Mail”) and the device (e.g., “Windows Computer”), then click “Generate”.
- Google will generate a 16-character password. Copy this password.
- use this password instead of your regular Gmail password.
5 Likes
I have done this and I don’t get any errors but none of my emails (Sales Orders, Quotes, Invoices) are sending.
Up until last month it was working perfectly just using my normal password and then it just stopped working so I did the 2-Step Verification and an app password copy/paste the 16 character code and the authentication error went away. But it is still not sending.
If it makes a difference this is a google workspace account with a custom domain name.
I am still on Version 13 and ubuntu on a home server