Step 1: Allow Access to Google Account

To top

Before using Gmail SMTP, you need to authorize your server to access your Google account.

Click here, log into your Gmail account, then click Continue

Note: You should use your main Google account to achieve this purpose

If you have merged accounts from google you will receive an authentication error

This will enable your account to access your new device (webserver).

Step 2: App Password generated if 2-Step Verification is Enabled 

To top

You have to enable 2-step verification on your Google account, you would need to generate an application-specific password.

Select Other/Custom name from Select App, give it a name such as “DO – Production Server” and then click Generate.

Note down the application password as it will be required in the next step.

Now, open the link again and click Continue.

Step 3: Configure Gmail on the SMTP Add-on

To top

Enter the Gmail details inside SMTP app (to activate SMTP app).

  1. Enable “Use custom SMTP”
  2. Enter as your host
  3. Use port 465
  4. Enter your Gmail login username
  5. Enter your App password. 



App password in step 5 is the app password generated in Step #2 above. It's NOT your Gmail account password.