How to Use SMTP Server to Send WordPress Emails
In this section, I show you how to use an SMTP server to send WordPress emails. If you having any problem with sending or receiving emails from your WordPress website because the entire WordPress uses PHP mail function to send emails. Here shared hosting providers do not have that kind of PHP mail configuration or due to the abuse, they disabled it entirely. This is the reason, the mail causes your WordPress emails to not be delivered.
Here we have a solution to solve this kind of issues. Using webmail or third-party email services such as GoDaddy Email, Mailgun & Amazon Simple Email Service, etc., you can solve the issue easily it may be extra cost to purchase the service if you already have that’s good or else we have another option that you have in cPanel email it is easy to configure and it’s free.
Creating Email Accounts with Your Host
Here you need to create an email account. We will show you how to create an email account in your Hosting cPanel. Most of the hosting providers having managed system but that is the basic process.
Now login to your cPanel and in the email section click on email accounts.
You need to fill the basic information to create your email account.
Now create an account to send and receive emails for WordPress. We recommended that you need to create an email account like [email protected] Make sure you need to replace softaox.info with your domain name.
Once you created an email account now it’s time to use it in WordPress. Before that, you need the following details from your hosting provider.
SMTP Host, Port Number, Encryption type, SMTP Username & Password.
If you can’t able to get this information you need to contact the hosting support to request this information.
Use Created Email in your WordPress
Now you need to install and activate the WP Mail SMTP plugin. Once you completed the installation process you need to click on Settings >> WP Mail SMTP.
Here first you need to enter the created email address and From Name, this will be used as the sender name.
Note: If you forget to add the from email & name means the plugin will use the default WordPress email.
Now click on the “Other SMTP” for the mailer.
Next, you need to click on the “Return Path” option. This will help to sets the return path to match the sender email address. In case you forget to check the box means the message will bounce and non-deliver receipts will be lost.
Set up SMTP
Now you need to enter the following details SMTP host and port, Most commonly used in SMTP host is mail.softaox.info (here you need to replace softaox.info to your domain name) and commonly used for SMTP Port is 465.
Next, you need to select the encryption type. The WordPress support both SSL and TLS. Here we recommend the TLS option.
Once you completed above process now turn on authentication toggle and you can see the username and password fields. Enter your created email ID and password. Now click save settings.
Testing the SMTP plugin
Here it is time to test everything is working fine. Now click on the “Email Test” tab. Next, you need to provide where you would like to receive a test email. Here you can provide any valid email address to receive emails. After that click Send Email button. Once you get a success message when the email is sent successfully.
For Securing Your Email Password
In the WP Mail SMTP, you need to enter account password but in this, the password will be stored as plain text which is unsafe. So the WP Mail SMTP providing some additional code to secure your password that we need to add in wp-config.php file.
Once your updated the additional code in the wp-config.php file don’t forget to replace your_password with your actual SMTP password.
define( 'WPMS_ON', true );
define( 'WPMS_SMTP_PASS', 'your_password' );
Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts. If you have any questions let me drop an email with the article name to the following email id: [email protected]