Skip to Main Content

How to use an SMTP server to send emails on WordPress

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 600.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Do you have problems sending emails from your WordPress blog? The simplest solution would be to use a third-party solution like Mandrill. However, its services are often expensive, or are limited in their free versions.

In this tutorial I will show you how to use an SMTP server to send emails from your WordPress blog.

But, if you have never installed WordPress, discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog

But back to why we are here.

how to use smtp server send wordpress emails 1

The problem with sending emails on WordPress

WordPress uses the function email PHP to send e-mails. Several WordPress web hosting services have not configured this feature correctly or this feature is expressly disabled. In either case, your emails will not be delivered.

The alternative solution is to use third-party plugins to send e-mails. You can use a service like Mandrill, SendGrid or Google Apps.

Your WordPress blog does not send any more email: how to correct this error

However, you will need to take a subscription, which will cost you quite a lot considering your requirements (and the number of times you plan to send e-mails).

Do you know there is an alternative? This is what I will show you in this tutorial.

How to use the e-mail accounts provided by your web host

Most hosting services provide email addresses for each hosting. This means that you can create e-mails with your domain name, this way: [Email protected]

See also our 10 WordPress themes to create a web hosting website

What you need to do first is to create an e-mail account. For this example, we will do it via cPanel. Your web hosting service certainly offers a different cpanel, but basically the features remain the same.

Log in to your dashboard and click on the email accounts (Showcase).


You will certainly have access to a form that you will have to fill out by providing your various information.

See also 6 premium WordPress plugins for blogger Youtube


Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

After creating your account, you will be ready to use it on WordPress. But before that, you need to retrieve the following information from your web host:

  1. the SMTP host for your email address
  2. The SMTP port for a secure connection

You can retrieve this information by contacting the customer service of your web host. Most provide this information.

How to use your personalized email on WordPress

All you have to do is install the plugin WP Mail SMTP. After activating the plugin, you need to access the " Settings> Email", To configure the plugin.


You must first specify the address you created. After, you must enter your name "From".

If you do not specify a name, WordPress will use the one available by default. Make sure the option " Send All WordPress e-mails via SMTP "Is checked.

Discover our 5 WordPress plugins to create custom emails

Under the SMTP section, you must fill in the fields with the different information that you have retrieved earlier. Do not forget to select the SSL protocol for more security.

Since we use an SMTP server, the plugin will need your login information to send your emails. Under the section Authentication", You must check the box" Yes: Use SMTP authentication To provide your login information.

See also How to publish your articles by email on WordPress, then let's test our settings

Then click "Save" to save your settings.

How to test your SMTP settings

WP Mail SMTP offers you a test tool. After saving your settings, scroll down and specify an address where you want to receive the test email.


The WP Mail SMTP plugin will send an e-mail to the specified address. If you do not receive an e-mail, then your SMTP server is not properly configured.

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Some operational errors

The most common reason for sending e-mail through an SMTP server is usually the configuration of the host and the port. Make sure you correctly specify these different pieces of information.

Discover also some themes and premium WordPress plugins

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. WordPress GDPR

WordPress GDPR is the one and only notification plugin you need to make your blog compliant with GDPR. Instead of using a lot of different tools to make things happen, WordPress GDPR does all the work by itself. Before you dive completely, you can first check his demonstrative videos finally to see the simplicity of the plugin.

WordPress GDPR WordPress plugin

With a single plugin, you can set up a privacy policy and all other GDPR tools that a modern website needs. In addition, all your users will be able to manually configure the privacy settings and even fix them later.

See also our article on How to become a successful blogger and make money with WordPress

WordPress GDPR also provides a feature that allows your users to delete all data. WordPress GDPR is indeed compatible with WooCommerce, Facebook Pixel, Hot Jar, Contact Form 7 and BuddyPress to name a few.

Download in French | Demo | Web hosting

2. SalesPower

To get the most out of your WooCommerce online store, SalesPower is a fantastic WordPress plugin that you should not miss. It is a versatile and powerful extension with many different features. Where to start ?SalesPower WordPress plugin

Well, let's take a quick look at some of the features you have access to when you work with SalesPower.

Instead of allowing your visitors to leave your website, create an exit pop-up and win them. You can use it for special offers and to capture their emails for future email marketing campaigns.

Discover How to add a query monitor to WordPress

In addition, you can also effortlessly implement cross-selling and sales incentives with SalesPower. Instead of sealing the deal and buying a single product, you can now push similar items, give them an exclusive deal to sell more products.

In conclusion, a lot happens when you use SalesPower, giving you a chance to bring your online stores to new heights.

Download in French | Demo | Web hosting

3. Algori PDF Viewer Pro for WordPress Gutenberg

This new WordPress plugin allows you to easily integrate and display PDF documents on your website. It will allow your visitors to easily view and interact with your PDF files directly on your website or blog.Algori PDF Viewer Pro for Wordpress Gutenberg

If you do not want your visitors to leave your website to view PDF files from your competitors, get Algori PDF Viewer, upload and view your PDF files easily with just one click.

Read also our list of 5 WordPress plugins to share the content of your blog

Choose from a variety of display options and make printing, downloading and many other PDF options available to all your users.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Your visitors will be delighted to have this chance to view and interact with your PDF content in a beautiful viewer.

Download in French | Demo | Web hosting

Recommended Resources

Discover other recommended resources that will accompany you in creating and managing your website.


Voila! That's it for this tutorial that will help you use an SMTP server to send emails on WordPress. Do not hesitate to share with your friends on your favorite social networks.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

And if you have any suggestions or remarks, leave them in our section Comments.


This article features 2 comments

  1. hellos,
    I did all the tests possible and imaginable and nothing to do that still does not work.
    I have the contact form that runs in the void with nothing that leaves and nothing happens, I really do not understand.

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top