Setup WordPress SMTP with Gmail SMTP Server

WP Mail SMTP

Installation

  1. In your WordPress backend navigate to Plugins > Add New
  2. Search Plugins : wp mail smtp
  3. Press [Enter] to start searching
  4. WP Mail SMTP will show up in the top of the list (version 0.9.5 at the time of our last edit)
  5. Click Install Now
  6. Click OK
  7. Click Activate Plugin

Configuration

  1. In the plugins list beneath WP-Mail-SMTP click Settings
  2. From Email : leave this empty
  3. From Name : Cool Tricks
  4. Mailer : Send all WordPress emails via SMTP
  5. Return Path : unchecked
Create a Contact Form in WordPress with Gmail SMTP
WP Mail Smtp Advanced Email Options

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
WP Mail Smtp Advanced Email Options
WP Mail Smtp Advanced Email Options’

Test

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 : another.emailaddress@gmail.com
  • Click Send Test
  • Log in to your another.emailaddress@gmail.com account to verify whether you actually received the test email
  • Tip : When you log in to contactform.website@gmail.com (see step3) you’ll find the test email in your sent messages folder!

    Wp Mail Smtp Send A Test Email
    WP Mail Smtp Send A Test Email

Error

  1. Sign in to your Google Admin console.Sign in using your administrator account (does not end in @gmail.com).
  2. From the Admin console dashboard, go to Securityand thenBasic settings.To see Security on the dashboard, you might have to click More controls at the bottom.
  3. Under Less secure apps, select Go to settings for less secure apps.
  4. In the subwindow, select the Disable access to less secure apps for all users radio button.

Leave a Reply