Skip to main content

Configure SMTP mails on wordpress

PHP mail functionality is blocked on Middlehost to prevent SPAM. To enable email functionality, you can authenticate your WordPress site using an email account.


1. Login to cPanel

Follow this cPanel Login Guide to access your cPanel.


2. Navigate to Email Accounts

Click on Email Accounts


3. Create a New Email Account

Click on Create

  1. Use "noreply" or any email address of your choice. This address will be used only for authentication.
  2. You can later configure the "From" email in WordPress.

4. Set a Password

  1. Click the password field, then click Generate to create a strong password. 
  2. Click Create to finalize the email account creation.

Generate Password


5. Install SMTP Plugin

  1. Login to your WordPress admin, go to Plugins > Add New, and search for WP Mail SMTP by WPForms.
  2. Install and activate the plugin.

Install SMTP Plugin


6. Configure the SMTP Plugin

  1. Select Other SMTP in the plugin settings.
  2. Enter the hostname for your hosting account (contact support if unsure).
  3. Use the email address and password you created earlier.
  4. Set the encryption method to TLS.

SMTP Settings


7. Test the Email Configuration

  1. Click Save Settings and go to Email Test.
  2. Enter a test email address (Gmail, Yahoo, or Hotmail recommended).
  3. Click Send Email to test the setup.

Email Test


Final Step

If the test email is delivered successfully, your WordPress SMTP is configured. Ignore any SPF or DMARC warnings for the test email.

Email Delivered Successfully


This guide ensures your WordPress can send emails reliably through authenticated SMTP settings, enhancing email delivery and reducing the chance of messages being marked as spam.