🧑💻 Setting up Gmail SMTP as SMTP Sender #
First, you need to visit the Settings » WP Mail SMTP page to configure the plugin settings.
You need to start by providing the Gmail address you want to use in the ‘From Email’ field and your name in the From ‘Name’ field.

Next, you need to select ‘Other SMTP’ as your mailer and check the box next to the return path.

After that, scroll down to the Other SMTP section to configure more settings.

Here is the exact configuration you need to add to the plugin settings:
- SMTP Host: smtp.gmail.com
- Encryption: Use SSL encryption
- SMTP Port: 465 (this should automatically appear when you select SSL encryption)
- Auto TLS: Turn off TLS
- Authentication: Turn on authentication
- SMTP Username: Your complete Gmail address, e.g. [email protected] or [email protected]
- SMTP Password: Password of your Gmail account.
Once you are done, click on the save changes button to store your settings.

That’s all, you have successfully set up WP Mail SMTP to use Gmail SMTP servers.
Note: If you use method two, please know that it’s less secure because your password is stored in text. You can enhance this by using the constants tip, but we strongly recommend using Method 1.
Testing Your WP Mail SMTP Settings #
WP Mail SMTP plugin allows you to test your email settings, so you can make sure that everything is working properly.
You need to visit the Settings » WP Mail SMTP page and click on the ‘Email Test’ tab. Simply provide an email address that you can access in the ‘Send To’ field and click on the Send Email button.

You will see a success message. You can now check your inbox to see a message with the subject line ‘WP Mail SMTP: Test Email to…’.
That’s all, you have successfully setup your WordPress site to send emails using Gmail SMTP servers.