Setup WordPress SMTP with Gmail SMTP Server
WP Mail SMTP
- In your WordPress backend navigate to Plugins > Add New
- Search Plugins : wp mail smtp
- Press [Enter] to start searching
- WP Mail SMTP will show up in the top of the list (version 0.9.5 at the time of our last edit)
- Click Install Now
- Click OK
- Click Activate Plugin
- In the plugins list beneath WP-Mail-SMTP click Settings
- From Email : leave this empty
- From Name : Cool Tricks
- Mailer : Send all WordPress emails via SMTP
- Return Path : unchecked
We’ll now have a look at the SMTP configuration. By doing this, WordPress will know how to connect to our Gmail account. As explained already, this email address will later show up as the “from email address”.
- SMTP Host : smtp.gmail.com
- SMTP Port : 465
- Encryption : Use SSL encryption
- Authentication : Yes: Use SMTP authentication
- Username : Enter your Email
- Password : Enter your password
- Click Save Changes
Within the same screen you can control your WP Mail SMTP settings by sending a test email. To avoid any confusion use a different email account than the one you used before.
- To : email@example.com
- Click Send Test
- Log in to your firstname.lastname@example.org account to verify whether you actually received the test email
- Tip : When you log in to email@example.com (see step3) you’ll find the test email in your sent messages folder!
- Sign in to your Google Admin console.Sign in using your administrator account (does not end in @gmail.com).
- From the Admin console dashboard, go to SecurityBasic settings.To see Security on the dashboard, you might have to click More controls at the bottom.
- Under Less secure apps, select Go to settings for less secure apps.
- In the subwindow, select the Disable access to less secure apps for all users radio button.