WordPress

How to Configure WordPress to send Email using SMTP in 2021

If you try to perform a function on the WordPress website and that function requires email verification, WordPress is not sending the email or facing any other trouble. You might wonder why all this happening, is any problem with your WordPress website? Here the actual problem is that WordPress is not configured to send emails. In this article, we’ll understand how to configure WordPress to send emails.

Why should SMTP send emails using WordPress?

WordPress, by default, is configured to use PHP functions to handle email service. But in VPS and Cloud hosting, this PHP mail function is not configured, and some shared hosting providers disable this function to reduce load and spam. That’s why you may face problems while sending or receiving emails using your WordPress website.

Configure WordPress to send email using SMTP server

To enhance the email functionality of WordPress, you can implement the Simple Mail Transfer Protocol or SMTP server to WordPress. There are many SMTP providers like MailGun, Sendinblue, Mailgun, Sendgrid etc.

Install and set up the SMTP plugin.

To send emails using the SMTP service, you need to install the SMTP plugin. Many plugins are available in the WordPress plugin store, like Easy WP SMTP, Post SMTP Mailer with Email Log, and many more. You can install any from the list, but Post SMTP Mailer with Email log provides a more user-friendly experience with email log service.

Install Post SMTP Mail with email log to your WordPress website; follow this guide to install a WordPress plugin. There will be a setup wizard open up or access it from the WordPress dashboard and library.

Configure the Plugin for WordPress Emails.

To configure the SMTP plugin for WordPress, scroll the WordPress dashboard>Post SMTP and then click on “Show All Settings”.

setup-wizard-wp

When you click on show all settings> it will display the current email mailer configuration used by the WordPress website.

Account setup SMTP configuration

In account settings, you’ll be asked to fill up server settings. Read this complete article to know where you can find all these settings.

  1. Choose the type as SMTP
  2. Select mailer type: Post SMTP
  3. Outgoing mail server hostname: You can find this value from your email service provider. Here, we’re using Gmail as an SMTP server; hence the value will be smtp.gmail.com.
  4. Outgoing service mail port: 587;
  5. Envelop from email: The email address you want to use to send emails from the WordPress website,
  6. Security: STARTTLS,
  7. Authentification: Login;
  8. User Name: Your Email Address
  9. Password: Password of the email address (for Gmail, you’ve to generate an app password, the guide provided below).
  10. Save the changes.

WordPress is now configured to send emails. You can now reset or change email addresses or authors, admin, and receive notification through email when someone comments on the blog posts.

If you can’t find the server details, you can further follow this guide.

SMTP server for Emails.

You can use the SMTP server to send emails using WordPress. This SMTP server can be set up using

  • cPanel of the hosting provider,
  • using Gmail(free SMTP but can’t use for heavy mails),
  • Other SMTP service providers.

Setup SMTP using cPanel.

You can use this service if your hosting provider provides cPanel to manage the WordPress website. For this, you’ve to log in to the hosting provider and visit the cPanel section. And create a Business email address to send emails of WordPress.

cPanel SMTP server setting

You can check SMTP settings of your email in cPanel, scroll to email accounts>connected devices>and outgoing server settings. These are outgoing SMTP server settings.

Use SMTP server of Gmail.

You can use the SMTP server of Gmail to send emails using your WordPress website.

  • SMTP server: smtp.gmail.com
  • Port for TLS/STARTTLS: 587
  • SMTP username: Gmail Email Address,
  • Password: You can generate an App password. Go to Google Account Settings>Security>App Password.

You can check Gmail SMTP server settings in this article. But for heavy uses, you can’t use the SMTP server of Gmail. You can also create a Business email address using Gmail for free.

Final Words

This is how we can configure SMTP in WordPress to send emails. I hope this article helped you or resolved the email issue. In case of any doubt, query or feedback, feel free to ask in the comment section provided below.

Ashok Kumar

Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.

Related Articles

Leave a Reply

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