Knowledge Base

How to send e-mail in WordPress

This article describes how to configure WordPress to send e-mail on A2 Hosting servers. WordPress uses e-mail for a variety of services, such as comment moderation notifications. Many WordPress plugins also use e-mail to provide extended functionality.

The WP Mail SMTP plugin enables you to configure e-mail settings for WordPress that are compatible with A2 Hosting servers.

Installing the WP Mail SMTP plugin

To install the WP Mail SMTP plugin, follow these steps:

  1. Log in to your WordPress site as the administrator.
  2. In the left-hand pane, click Plugins.
  3. Click Add New.
  4. In the Search Plugins text box, type wp mail smtp, and then press Enter.
  5. Locate WP Mail SMTP, and then click Install Now.
  6. After WordPress finishes installing the plugin, click Activate Plugin.

Configuring the WP Mail SMTP plugin

To configure the WP Mail SMTP plugin to work with your account, follow these steps:

  1. Log in to your WordPress site as the administrator.
  2. In the left-hand pane, click Settings, and then click Email. The Advanced Email Options page appears.
  3. In the From Email text box, type the e-mail address you want to use as the sender.
    This e-mail address must exist on your account.
  4. In the From Name text box, type the name you want to associate with the e-mail address you specified in step 3.
  5. Under Mailer, select Send all WordPress emails via SMTP.
  6. Under Return Path, select the Set the return-path to match the From Email check box.
  7. Under SMTP Options, confirm the SMTP Host value is set to localhost.
  8. Choose one of the following configurations:
    • If you want to use encryption, in the SMTP Port text box type 465, and then under Encryption, select Use SSL encryption.
    • If you do not want to use encryption, in the SMTP Port text box type 25, and then under Encryption, select No encryption.
  9. Under Authentication, select No: Do not use SMTP authentication.
  10. Click Save Changes.

    You should test the new configuration to make sure that it works. To do this, follow these steps:

    • Under Send a Test Email, in the To: text box, type an external e-mail address where you can receive a test message.
    • Click Send Test. You should receive a test message at the e-mail address you specified in the previous step. If you do not receive a message, check the settings you provided in steps 3 to 9, and then try again.

More Information

For more information about the WP-Mail-SMTP plugin, please visit https://wordpress.org/plugins/wp-mail-smtp.