How to Configure Your WordPress to Send Messages via SMTP
NOTE: To Follow This Guide, You Need to Install WP Mail SMTP Plugin First
Plugin Download Link: https://wordpress.org/plugins/wp-mail-smtp/
Instructions on How to Install a WordPress Plugin
IMPORTANT NOTE: By default, SMTP-sending via a script is not allowed. You Need to Contact Our Technical Support Team to Whitelist Your cPanel Account Username In Order to Allow SMTP-Sending via a Script.
Login to WordPress Dashboard and click on Settings > WP Mail SMTP
On this page you will see several configuration options available. Select Other SMTP as shown below:
Here's a list of all of them and what do they configure:
From Email - the email address you want to send emails from - for example email@yourdomain.com;
From Name - the name that your emails will be sent from;
Mailer - choose whether you want to use the Default PHP mail() function, a Gmail/G Suite account, Mailgun, SendGrid or other SMTP server.
Choosing the Default mode would send the messages using the PHP mail() function without SMTP authentication.
The Gmail/G Suite, Mailgun and SendGrid options require additional info such as Client ID and Client Secret or API key that should be obtained by the respective provider.
The other SMTP server option would prompt you to enter additional configuration details which we would describe below.
Return Path - check if you want to match the return path for your emails to the sending email;
If you choose other SMTP server as a mailer, you would be prompted to add the SMTP server's configuration settings.
SMTP Host - the hostname for your SMTP server;
SMTP Port - the port your server works on;
Encryption - Choose SSL Encryption
Auto TLS - Please disable this option.
Authentication - check if your SMTP server requires authentication;
Username - the email account username for your SMTP server;
Password - the email account password for your SMTP server;
Here's an example that shows how we apply our email account settings using SSL protocol:
Once you configure those parameters, simply click the Save button at the bottom of the page.
You may run a sample test now by clicking on " Email Test " at the top of the page.
NOTE: If you encounter error message during sample email delivery, please contact our technical support team in order to whitelist your cPanel username inside WHM.
You shall see a successful delivery message if your settings are properly configured.
Plugin Download Link: https://wordpress.org/plugins/wp-mail-smtp/
Instructions on How to Install a WordPress Plugin
IMPORTANT NOTE: By default, SMTP-sending via a script is not allowed. You Need to Contact Our Technical Support Team to Whitelist Your cPanel Account Username In Order to Allow SMTP-Sending via a Script.
Login to WordPress Dashboard and click on Settings > WP Mail SMTP
On this page you will see several configuration options available. Select Other SMTP as shown below:
Here's a list of all of them and what do they configure:
From Email - the email address you want to send emails from - for example email@yourdomain.com;
From Name - the name that your emails will be sent from;
Mailer - choose whether you want to use the Default PHP mail() function, a Gmail/G Suite account, Mailgun, SendGrid or other SMTP server.
Choosing the Default mode would send the messages using the PHP mail() function without SMTP authentication.
The Gmail/G Suite, Mailgun and SendGrid options require additional info such as Client ID and Client Secret or API key that should be obtained by the respective provider.
The other SMTP server option would prompt you to enter additional configuration details which we would describe below.
Return Path - check if you want to match the return path for your emails to the sending email;
If you choose other SMTP server as a mailer, you would be prompted to add the SMTP server's configuration settings.
SMTP Host - the hostname for your SMTP server;
SMTP Port - the port your server works on;
Encryption - Choose SSL Encryption
Auto TLS - Please disable this option.
Authentication - check if your SMTP server requires authentication;
Username - the email account username for your SMTP server;
Password - the email account password for your SMTP server;
Here's an example that shows how we apply our email account settings using SSL protocol:
Once you configure those parameters, simply click the Save button at the bottom of the page.
You may run a sample test now by clicking on " Email Test " at the top of the page.
NOTE: If you encounter error message during sample email delivery, please contact our technical support team in order to whitelist your cPanel username inside WHM.
You shall see a successful delivery message if your settings are properly configured.
Updated on: 14/01/2019
Thank you!