Knowledgebase

How to Configure WordPress to Use SMTP For Sending Emails Print

  • 0

By default, WordPress uses the PHP Mail function to send its emails. This has proven over and again vulnerable as PHPMail() is open and used by trojans and viruses. Most clients have infected files which just send mails using PHPMail(), because it doesn't authenticate.  However, it is better to use SMTP as it handles sending messages better as SMTP function isn't open and the email must be authenticated, i.e., a real email address and password must be written into your code and must be verified by the mail server before the email is sent. This to an extent increases the legitimacy of emails.

Step 1:  To begin, first you need to install a plugin named Easy WP SMTP by following the instructions in our tutorial on how to install WordPress plugins.

Step 2: Once the plugin is installed and activated, a new menu will show up under the Settings section of your WordPress dashboard called Easy WP
 
SMTP. You will need to navigate to it in order to configure WordPress to work with SMTP.

WP Dashboard

Step 3:  On this page you will see several configuration options available.


Configuration settings:

From Email Address: your email address i.e. [email protected]
From Name: a name to give your email address i.e. Company Name
SMTP Host: localhost
Type of Encryption: None
SMTP Port: 25
SMTP Authentication: Yes
SMTP username: Your email address (same as the From Email Address)
SMTP Password: Password of the email address above

Step 4:  Once you configure those parameters, simply click the Save button at the bottom of the page.

Step 5:  To test the setting is working, click on the Test Email tab and fill in the required fields and click on Send.

You should get a result as below after the test:

wp smtp

We hope this article helped you learn how to use SMTP server to send WordPress emails
 
 

Was this answer helpful?  

Related Articles

 How to Create a New Email Account

Overview You have the ability to create email accounts from your cpanel. The number of emails...

 Creating email auto responses

Creating email auto responses   Overview You can use autoresponders to send a message...

 Why am I getting a Domain has exceeded the max defers and failures per hour error?

As of the release of cPanel 11.32, to which we upgraded in early March 2012, a new feature...

 How do I change my sites MX record to point mail to another server or domain?

An MX Record is used by a mail server to route incoming email. Changing your MX record is usually...

 How do I change the timestamp on my emails?

Each webmail client has a time zone setting, which is set to the server clock by default....


Was this answer helpful?
Back