PROFESSIONAL WEB HOSTING SOLUTIONS
US 1-877-412-4678      International 1-317-961-1116

Use SMTP Authentication with WordPress Print

  • 1

 

How to Configure SMTP Email for WordPress Using cPanel

Using SMTP to send email from WordPress improves deliverability, reliability, and security compared to PHP’s default mail function. This guide walks you through:

  1. Choosing and installing a WordPress SMTP plugin

  2. Finding your email account’s SMTP settings in cPanel

  3. Entering those settings into WordPress

  4. Testing email delivery


 

Part 1: Choose and Install a WordPress SMTP Plugin

 

Step 1: Log in to WordPress Admin

  • Go to:

    https://yourdomain.com/wp-admin
    
  • Log in with an administrator account.


Step 2: Browse Available SMTP Plugins

  1. In the left menu, click Plugins → Add New

  2. In the search box, type SMTP

Common, well-supported options:

  • WP Mail SMTP (recommended for most users)

  • FluentSMTP

  • Post SMTP Mailer

💡 WP Mail SMTP is beginner-friendly and works well with standard cPanel email accounts.


Step 3: Install and Activate the Plugin

  1. Click Install Now

  2. Once installed, click Activate

  3. A new SMTP / Mail menu will appear in WordPress


 

Part 2: Find Email Account SMTP Settings in cPanel

 

You’ll now need the email server details for your domain.


Step 4: Log in to cPanel

  • Usually found at:

    https://yourdomain.com:2083
    
  • Log in using your cPanel username and password.


Step 5: Open Email Accounts

  1. In cPanel, go to Email → Email Accounts

  2. Locate the email address you want WordPress to send from

  3. Click Connect Devices


Step 6: Copy SMTP Configuration Details

You’ll see settings similar to the following:

Setting Value
SMTP Server mail.yourdomain.com
SMTP Port 465 (SSL) or 587 (TLS)
Encryption SSL or TLS
Username full email address
Password email account password

⚠️ Important:
This is the email account password, not your cPanel or WordPress password.


 

Part 3: Configure the SMTP Plugin in WordPress

 


Step 7: Open SMTP Plugin Settings

  • In WordPress, go to Settings → WP Mail SMTP (or your chosen plugin)


Step 8: Enter SMTP Details

Fill in the fields using the values from cPanel:

  • From Email: you@yourdomain.com

  • From Name: Your site or company name

  • Mailer: Other SMTP

  • SMTP Host: mail.yourdomain.com

  • Encryption: SSL or TLS

  • SMTP Port: 465 or 587

  • Authentication: Enabled

  • Username: full email address

  • Password: email password

Save settings.


 

Part 4: Send a Test Email

 


Step 9: Run the Test Email

  1. In the SMTP plugin, open Email Test

  2. Enter your own email address

  3. Click Send Email

If successful, you’ll receive a confirmation message.


 

Common Troubleshooting Tips

 

Email not sending?

  • Double-check the password (most common issue)

  • Make sure the port matches the encryption type:

    • SSL → 465

    • TLS → 587

  • Confirm the email account exists in cPanel

  • Ensure your hosting provider allows outbound SMTP

Emails going to spam?

  • Use an address on the same domain as your site

  • Make sure SPF, DKIM, and DMARC are enabled in cPanel

  • Avoid free email providers (Gmail, Yahoo) as SMTP senders


Summary

✔ Install a WordPress SMTP plugin
✔ Retrieve SMTP settings from cPanel
✔ Configure authentication in WordPress
✔ Test email delivery

Using SMTP ensures WordPress emails (forms, password resets, notifications) are delivered consistently and securely.


Was this answer helpful?

« Back