What is WordPress? Is it reliable

Set up WordPress email SMTP (instructions)

Of course, you can use special third-party services such as Mandrill instead of the following solution, but these services cost money.

In this article, we're going to show you a way that won't cost you any money and still be very effective. Because you simply use your own email address for your hosting package or your server. We'll show you how to set up an SMTP server to send your WordPress emails.

The problem with the WordPress emails

WordPress uses the mail function in PHP to send its internal emails. But this is precisely where the problem often lies. This is because many shared hosting providers either have not configured this function correctly or have deactivated it completely for security reasons. This presents you with the problem that your WordPress cannot send the emails correctly. For example, new users will not receive any passwords and you will not be informed about new comments on your blog. Of course, you can use a third-party service like Mandrill or Sendgrid. But these services are not free of charge and can be quite expensive for many users or user accounts.

But don't worry, there is definitely a solution to the problem. Because you can use a service that you already pay for.

Use one of your own email addresses for WordPress

With every shared hosting package or even your own server, you also get your own domain for the package and thus the opportunity to create your own e-mail addresses. It's quite easy to do and will fix the WordPress problem. Your own email address looks like this:

[email protected]
The creation of an e-mail address works a little differently for each provider, so I'll show here as an example how it works at hostNET.de in the easyTECC4 administration panel. We strongly recommend using an email address like [email protected] to use.

Create an email address

In the screenshot below, I enter the desired email address, set the password and the mail quota (storage space of the mailbox) and click on Save changes. Now I get the access data and can set up my own email address in WordPress. The SMTP port is also important for a secure login. Usually the Port 587 used. However, this can also be different for you, which you can find out about in your system in the support area or from your hoster.

Important: Write down the access data and the server addresses to be used so that they are not forgotten.

Use your own email address for WordPress, that's how it works

Unfortunately there are two plugins with the name WP Mail SMTP. Make sure that you are downloading the correct one (see screenshot).

First, in order to be able to configure the email address, we need a small WordPress plugin called WP Mail SMTP (easy SMTP). Please download, install and activate. Then navigate to the settings of the plugin under »Settings => EMail« and make settings there according to the following pattern:

One click opens the graphic in a higher resolution

Enter the access data

First you have to enter your email address. This is followed by the sender name in the "From name". The option "Send all WordPress emails from SMTP”Must be activated. In the area "SMTP options”You enter the SMTP host. This is the server address that is being sent from. The field "Use SSL encryption”Must be checked so that the access data and the transmission are encrypted. At "Authentication" got to "Yes: Use SMTP authentication”Must be clicked. Below you only have to enter your username and password for the e-mail address and then click the button "Apply changes" click.

Check the settings with a test email

Now enter in the field "Send a test email”An email address, subject, and message. Now click on "Send Test". This generates a test email. If this email arrives, you've done everything right and sending emails using your own server is working. If not, you will get an error message.

Troubleshooting email problems with WordPress

The most common reason that the plugin cannot send e-mails is the wrong entry of an SMTP host (server address for sending) or the wrong port. Make sure you are using the correct host and port. If in doubt, ask your hosting provider's support. SSL works with most providers, but unfortunately sometimes it doesn't. Then switch to the test "Type of Encryption" on "None”And test again.

This way your WordPress emails do not end up in SPAM

WordPress emails have the stupid habit of regularly ending up in spam. This is due to the fact that an important value is regularly missing that you first have to deposit with your "domain registrar".

The “Stop WP Emails Going to Spam” plug-in will help you here.

Above all, the plugin shows you the value that you have to deposit with your domain registrar. At Dr. Web it looks something like this:

To do this, go to the backend of your domain registrar and add the value that the plugin spits out to the TXT records:

And et voilà, as soon as these values ​​are propagated (which can take about 1-2 hours or more), the WordPress emails no longer end up in spam.

Conclusion

With a little thought and at no additional cost, we have solved the problem and our WordPress is now reliably sending the important e-mails. Because the incorrect sending via the PHP mail function was skipped and the emails are now sent directly via your hosting provider.

Post picture: Unsplash