How To Use SMTP To Send Email from WordPress

How To Use SMTP To Send Email from WordPress

85 / 100

You keep sending emails from your WordPress website but you’re not sure if the emails are being received.

Most likely, if you don’t use SMTP to send emails, they’re probably not getting delivered.

However, before we fix this issue, I want to explain what SMTP means and how it works to help you understand what you’re doing and why!

SMTP stands Simple Mail Transfer Protocol.

How To Use SMTP To Send Email from WordPress

So, what the heck is a simple mail transfer protocol?

SMTP is an industry-standard form of communication between servers.

And what does this have to do with my email being sent from WordPress?

An email (electronic mail) is nothing more than an electronic piece of paper sent via the internet.

Here’s what happens when you hit the send:

  • You send a notification to the server to send your piece of electronic paper to the other server.
  • The other server receives your electronic paper and sends a notification (you’ve got mail) to the recipient.

That’s it.

What does an SMTP plugin do?

How To Use SMTP To Send Email from WordPress

The WP Mail SMTP by WPForms is a plugin that will fix your email deliverability by reconfiguring WordPress to use a proper SMTP server such as Gmail, Yahoo, or your hosting service provider (in my case, SiteGround) when sending emails.

Since these giants are consistently fighting spammers, one of the things they look for is the origination of the email being sent. If the configuration isn’t correct, your email is marked as spam.

How do I set up the plugin?

How To Use SMTP To Send Email from WordPress

This process will be different for each provider, but I’m going to explain how you can set up WP Mail SMTP by WPForms through SiteGround, which is my hosting service provider.

If you don’t have a hosting account are you’re looking to switch from your current hosting service. I recommend you check out SiteGround.

Install the SMTP plugin!

  • If you don’t know how to install and activate a plugin from the WordPress library, check here!

Log into your SiteGround account!

  • Click on the My Account tab.
  • Click the cPanel button.
  • On the pop-up window, make sure “Access cPanel Securely” has a checkmark. Click the “proceed” button.
  • In the search box type “Email” or scroll down the page until you find “Email Accounts” under the email section and click to open.
  • Enter the name of the email address you want to create and select the domain name.
  • Enter the password & confirm or click the “Password Generator” to generate a password.
  • Click “Create Account” to create your email account.
  • Click the “More Arrow” to the far right of the email account you want to use. (If you don’t see an email, create an email now)
  • From the dropdown click “Configure Email Client” (Leave this window open because you will use it several times).

Let’s set up the SMTP plugin!

  • On the WordPress admin sidebar, hover over “WP Mail SMTP” and click setting.
  • On the “General Tab” under “Mail”, change the “From Email” address to the address you just created or updated.
  • Change the “From Name” to something like “YourFirstName @ YourWebsiteName.
  • Under Mailer select the provider you want your emails to go through. If your email service provider isn’t listed, click “Other SMTP”.
  • Change the “SMTP Host” name, which will be your website address. In SiteGround it will be the “Incoming/Outgoing Server”.
  • Change the “Encryption” settings to SSL (recommended) or TLS.
  • Skip down to SMTP Username & Password. Enter the email address and the password you created.
  • Click “Save Settings.”

It’s time for an Email Test!

  • Click the “Email Text” tab at the top.
  • Enter the email address you want to receive the test email.
  • Make sure the “HTML” button is ticked on.
  • Click “Send Email” to send your test email.
  • That’s it. You’re done!

If everything was set up correctly, you will see a “green” message at the top of the page “your test was successful.”

If you receive an error message, check and make sure All settings (username, password, SSL/TLS, etc.) are correct.

In Conclusion

How To Use SMTP To Send Email from WordPress

If you’re sending emails from your WordPress website, we know the reader may never receive your emails if they’re not being sent via an SMTP server.

To correct this, we need to install an SMTP plugin to properly reconfigure WordPress to use an SMTP server such as Gmail and Yahoo.

We also set up an email account using Siteground. We grabbed the username and password for the email address and changed a few settings in the WP Mail SMTP by WPForms plugin.

We ran a quick test and got the green light that everything is set up and working correctly. ?

Now we can rest knowing that when we send an email from our WordPress website, it will be delivered via an SMTP server.

‘Til the next episode,

If this blog post has helped you and you think it will help someone else, do me a favor and share.


Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *