How to send an email from WordPress?

You can easily send email from WordPress using SMTP. You will need to create an email account and use it in a WordPress plugin.

There are many plugins to send email using SMTP. You can use one that is popular and has good remarks from its users:

Once the SMTP plugin is configured, all plugins and themes will automatically use the SMTP plugin details to send email. No other configuration is required.


Applies To:

This guide applies to Web Hosting, Semi Dedicated Hosting, and Reseller Hosting.


Step 01: Create an Email Address to Use in WordPress

  1. Go to cPanel > Email Accounts.

  2. Click Create.

  3. Enter the Username and Password for the email account.

  4. Click Create.

  5. Done!

Step 02: Install Fluent SMTP Plugin

In this article, we are using the Fluent SMTP plugin. You can use any plugin you like.

  1. Log in to WordPress Dashboard:

    Go to cPanel > WordPress Manager by Softaculous > Login.

  2. Go to WordPress Dashboard > Plugins > Add New.

  3. Enter "Fluent SMTP" in the Keyword field to find the plugin.

  4. Click "Install Now" on the Fluent SMTP plugin.

  5. Click "Activate".

Once activated, you need to configure the plugin.

Step 03: Configure Fluent SMTP

  1. Go to WordPress Dashboard > Settings > Fluent SMTP > Settings.

  2. If this is the first time you are configuring the plugin, you can enter details here. Otherwise, go to Active Email Connections > Edit.

  3. Make sure the following values are correct:

    • Connection Provider/Email Service Provider: Other SMTP

    • Sender Settings

      From Email: <your email address, e.g.,>
      From Name: <your name or website name>

      Force From Email: Enabled
      Set the return path to match the From Email: Enabled
      Force Sender Name: Disabled

    • SMTP Host: <server hostname, e.g., (recommended) or>
      SMTP Port: 465

      Encryption: SSL
      Use Auto TLS: Enabled
      Authentication: Enabled

      Store Access Keys in DB: Enabled

    • SMTP Username: <your email address, e.g.,>
      SMTP Password: <your email password>

      If you get any error using [] as the SMTP Host, try using [].

      Do not use the default email address of your hosting account as the SMTP Username. The default email address looks like

  4. Click Save Settings.

  5. Go to Fluent SMTP > Settings > General Settings.

  6. Make sure the following values are correct:

    • Default Connection: SMTP -

    • Disable sending all emails: Disabled.

  7. Done!

You should now be able to send email from WordPress. If you use a CDN or external email, please refer to the steps below.



If you use a CDN, Cloudflare,, or their nameservers, make sure the SMTP Host ( is not proxied by Cloudflare/

If the SMTP Host is proxied, the plugin will not connect to the mail server and time out.


External SMTP

If you use an external email account that is not hosted on your hosting account, e.g., hosted email services like SendGrid, Mailchimp, Gmail, Yahoo, Hotmail, etc.:

  1. Create an email account on your hosted email to send email from WordPress.

  2. Contact support to enable external SMTP for your hosting account. You do not need to contact support if you use an email account hosted on the same hosting account.

  3. Depending on your hosted email service, you might need to enable Multi-Factor Authentication.


Multi-Factor Authentication (2 Factor Authentication)

If you use the following hosted email services to send email from WordPress and have enabled Multi-Factor Authentication (2 Factor Authentication) for your hosted email, you need to create an App Password in your hosted email account settings (not on MechanicWeb servers).

Once created, use the App Password as the SMTP Password in the plugin:

  • Gmail/Google Workspace

  • Office 365/Hotmail

  • Yahoo Mail

  • AOL

  • Zoho

  • 566 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable automatic WordPress optimization?

We automatically optimize all WordPress websites on your hosting account. There might be cases...

How to reduce resource consumption of WordPress?

High resource usage is often caused by plugins and themes. In most cases, uninstalling...

How to automatically update WordPress using Softaculous?

You can automatically update WordPress using Softaculous. By default, Softaculous updates WP core...

How to change WordPress admin password?

The admin password of WordPress can be changed in multiple ways without requiring to know the...

How to deactivate plugins when not able to access WordPress admin?

Often times during troubleshooting, you may need to deactivate all plugins and activate them one...