Skip to Main Content

How to use an SMTP server to send emails on WordPress for free

Divi: the easiest WordPress theme to use

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]

Are you having trouble sending emails from your WordPress blog? Would you like to know how to use an SMTP server to send emails on WordPress?

The easiest 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've 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.

use an SMTP server to send emails

The problem with sending emails on WordPress

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

The alternative solution is to use third party plugins to send the emails. You can use a service like Mandrill, SendGrid ou Google Apps. 

Your WordPress blog is no longer sending emails: how to fix 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 that there is an alternative? This is precisely 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 emails with your domain name, like this: [email protected]

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

What you need to do first is to create an email account. For this example, we'll do it through the cPanel. Your web hosting service certainly offers a different cPanel, but basically the functionality remains 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.

Divi: The best WordPress theme of all time!

With over 901.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]

See also 6 premium WordPress plugins for blogger Youtube


After creating your account, you will be ready to use it on WordPress. But before that, you need to get 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 must navigate to the location " Settings> Email“, To configure the plugin.


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

If you don't specify a name, WordPress will use the one available by default. Make sure that 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 need to fill in the fields with the different information that you got earlier. Don't forget to select 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 tick 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 email to the specified address. If you do not receive an email, then your SMTP server is not correctly configured.

Some operational errors

The most common reason for sending email through an SMTP server is usually the host and port configuration. Make sure to correctly specify these different information.

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]

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 GDPR compliant. Instead of using a bunch of different tools to get things done, WordPress GDPR does all the work on its own. Before you dive in completely, you can first check out its demonstration videos and finally 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 | Demo | Web hosting

2. SalesPower

To get the most out of your WooCommerce online store, SalesPower is a fantastic WordPress plugin that you shouldn't 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 that you have access to when working with SalesPower.

Instead of allowing your visitors to leave your website, create an exit pop-up window and win them over. 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

What's more, you can also effortlessly set up cross-sells and upsells with SalesPower. Instead of sealing the deal and buying just one product, you can now push similar items, give them an exclusive deal and sell more products.

In conclusion, there is a lot going on when using SalesPower, which gives you a chance to take your online stores to new heights.

Download | Demo | Web hosting

3. Algori PDF Viewer Pro for WordPress Gutenberg

This new WordPress plugin allows you to easily embed 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 viewing options and make printing, downloading and many other PDF options available to all your users.

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

Easily create your Online Store

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

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.


Voila! That's it for this tutorial which 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 it still does not work.
    I have the contact form spinning around with nothing going and nothing coming, I really don't 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