How do I configure a WordPress SMTP plugin?

WordPress has several SMTP plugins you can use to force any FROM address you like. This is important for two major reasons:

  • It allows you to send email directly through your mail server as opposed to the web server. This helps to prevent issues with Sender Domain Policy and Spoofing.
  • It allows you to send email FROM another email host. For example, you can use your GMAIL address as the FROM email instead of your DreamHost address

One popular plugin option is shown below with its recommended settings.


  1. Download the 'WP Mail SMTP' plugin at WP Mail SMTP.
  2. After it's installed and activated, navigate to the 'Plugins' page in your WordPress dashboard.
    01 WP Mail SMTP.png
  3. Click the 'Settings' link under the plugin.
    02 WP Mail SMTP.png
  4. Fill in the following fields:
    • From Email - Enter the email you wish to send FROM
    • From Name - Enter a name you'd like to appear as being sent FROM
    • Mailer - Send all WordPress emails via SMTP
    • Return Path - You can leave this unchecked
    • SMTP Host - If you host email at Google, change this to
    • SMTP Port - 465
    • Encryption - Use SSL encryption
    • Authentication - Yes: Use SMTP authentication
    • Username - Enter your email address
    • Password - Enter your email address password
  5. Click the Save Changes button.

Your form will now send FROM the email you entered above.

Alternative plugins

There are several other SMTP plugins you can use to send email. After logging into your WordPress site, select 'Plugins > Add New' in the left pane. You can then search for the term 'SMTP' to view other options.

Allowing GMAIL to send from your mail application

If you're using your GMAIL address to send via SMTP, you must first allow your application access to your GMAIL address. If you do not do this, your email will not authenticate and not send. View the following article for details:

See also

Did this article answer your questions?

Article last updated PST.