Knowledgebase

Back to Tools and Features

Wordpress SMTP


By default, WordPress uses PHP's mail() function to send emails, which is often blocked or flagged as spam. Configuring SMTP ensures emails from your site - such as contact form submissions, order confirmations, and password resets - are delivered reliably.


Step 1 - Install WP Mail SMTP

In your WordPress admin panel, go to Plugins > Add New, search for WP Mail SMTP, then install and activate it.



Step 2 - Open the Plugin Settings

From the left-hand menu, go to WP Mail SMTP > Settings.

Set the From Email to the email address you will use for SMTP authentication. Tick Force From Email so that all plugins on your site send from the same address. Set the From Name to whatever you would like to appear as the sender name.



Step 3 - Select the Mailer

Scroll down and select Other SMTP from the Mailer section.



Step 4 - Enter Your SMTP Settings

Scroll down and enter the following settings, using your StackCP email address and password:

SettingValue
SMTP Hostsmtp.stackmail.com
SMTP Port465
EncryptionSSL/TLS
AuthenticationOn
UsernameYour full email address
PasswordYour email account password

Click Save Settings.


Step 5 - Send a Test Email

Scroll back to the top of the page and click the Email Test tab.


Enter an email address to send the test to, leave HTML enabled, and click Send Email.


A correctly configured account will show a success message.


If there is an error - for example if the password is incorrect - you will see a failure notification.


Click View Full Error Log for more detail on what went wrong.



Troubleshooting

Test email fails with an authentication error

  • Double-check your email password. You can verify it works by logging in to webmail at stackmail.com.
  • Make sure the Username field contains your full email address, not just the local part.

Test email succeeds but contact form emails are not arriving

  • Check the From Email field. Some contact form plugins override the sender address - ticking Force From Email in the plugin settings prevents this.
  • Check your spam or junk folder for the missing emails.



Related Articles

Do you offer WordPress CLI?
Do you support WordPress Network (Multisite)?
What is WordPress?

Can’t Find what you need?

No worries, Our experts are here to help.