How to Fix WordPress Not Sending Email Issue
Having trouble receiving or sending emails from your WordPress site? One solution is to use third party email services like Easy WP SMTP. In this article, we covered how to use an SMTP server to send WordPress emails.
WordPress Mail Sending Issues
WordPress uses the PHP mail function to send emails. Many hosting providers (hosting companies) have not configured this functionality properly in their shared hosting services or have disabled it completely to avoid abuse. Either way, this will result in your WordPress emails not being delivered.
The alternative solution is to use a third-party email service to send your emails. You can use the mail services provided by the hosting company such as Mail service, Yandex, Gmail, Yahoo and Outlook as SMTP Host.
WordPress Easy WP SMTP Plugin Installation and Setup
Now you will need to install and activate the Easy WP SMTP plugin. Let’s click on Plugins>Add New and type Easy WP SMTP in the search box on the plugin page that comes up and let’s install the plugin and activate it.
After activation, we come to the plugin settings page from Settings » Easy WP SMTP to configure the plugin settings.
From Email Address: This is the part of the incoming mail that shows who the mail came from. You can write your desired e-mail address here. For example, you can write as email@example.com.
From Name: If you do not enter a name in this field, the plugin will use the default WordPress name. You can write the name you want to appear in the outgoing mail. Don’t forget to tick Force From Name Replacement under the box.
Reply-To Email Address: This feature will use the Reply-to feature of the typed e-mail address. You can leave this blank. Leave this property blank to use the e-mail address from.
SMTP Host: This is the part where we will write the SMTP host address. You can get this information from the hosting provider. If you are using the mail infrastructure of the hosting company, your SMTP host information is usually mail.yourdomain.com (replace yourdomain.com with your own domain name). You can also use services such as Yandex, Gmail, Yahoo or Outlook as different SMTP hosts. We use Yandex Corporate Mail infrastructure.
Type of Encryption: In this section, the option is “SSL.” Please mark.
SMTP Port: This part is the port information of your SMTP address in the mail infrastructure of the hosting company, that is, the information from which port it sends mail. Port 465 is commonly used for SMTP.
SMTP Authentication: Check the option “Yes” in this section .
SMTP Username: In this section, you should write the e-mail address you created there, which mail infrastructure you will use. Since we use Yandex corporate mail infrastructure, if we write smtp.yandex.com service as SMTP host, we must write the e-mail address I created in Yandex.
SMTP Password: In this section, you should patch the password of the e-mail address you created.
Don’t forget to click the save settings button to save your changes.
Testing your SMTP settings
Now that we have configured the Easy WP SMTP settings for sending emails, it is necessary to test if everything is working properly. Click the ‘Test Mail’ tab on the plugin’s settings page.
Type the e-mail address in the To field, the subject in the Subject field, and the text in the Message field. Type any valid email address that can be accessed to the To section. After that, click on the “Send Test Email” button to continue.
Easy WP SMTP will send an email message using the SMTP settings you entered earlier. You will see a success message when the email is sent successfully.
WordPress SMTP Issues
The most common cause of errors in sending email using SMTP is incorrect SMTP host information or port. Make sure you enter the correct host information and port settings provided by your hosting provider.
Make sure you select the Type of Encryption method. Generally SSL will work in most environments, but if your emails are not received we recommend checking with the hosting company.
Yandex, Gmail, Yahoo and Outlook SMTP Information
SMTP Host: smtp.yandex.com
SMTP Port: 465
SMTP Host: smtp.google.com
SMTP Port: 465
SMTP Host: smtp.mail.yahoo.com
SMTP Port: 465
SMTP Host: smtp-mail.outlook.com
SMTP Port: 587
We hope this article helped you learn to use the SMTP server to send WordPress emails.