Stop WP Emails Going to Spam


Emails generated from within WordPress often end up in your spam or junk folder, This plugin helps you sort that out. The default settings of this plugin can often be enough to solve your problem.

When using the default PHP mailer in WordPress, especially on shared servers, emails will often be set to spam or junk by receiving email systems. This can be very frustrating and important notifications can be missed by you or your clients.

Why does this happen? One problem is the « envelope sender » not being set, and many hosts will recommend that you install a plugin to set the « envelope sender », this is the main purpose of this plugin.

Along with setting the « envelope sender » this plugin also displays your Sender Permitted From (SPF) and checks your server IP is in the SPF record, if there is one.

Optionally this plugin allows you to change the name and email address of the default WordPress notification email easily.

If you use an SMTP email plugin or use an API based transactional email plugin, this plugin will add no value; it is built to support the default PHP mailer only.

PHP 8.0 compatible

Tested on PHP 8

Features Include

  • Checks email SPF health
  • Checks if your IP is blacklisted
  • Set envelope sender when missing
  • Allows you to change the default WordPress sending email
  • Allows you to change the default WordPress sending email name
  • Allows you to set the sending email domain


This section describes how to install the plugin and get it working.

Either using the dashboard ‘Add Plugin’ feature to find, install and activate the plugin, or
1. Download and unzip the plugin
2. Upload the entire contents of stop-wp-emails-going-to-spam to the /wp-contents/plugins directory.
3. Activate the plugin through the Plugins menu

Once activated you will be taken to the settings page. The default settings are a good place to start, so save these and start testing your email delivery.


Can You Help Me Investigate Why Email Goes To Spam

This plugin is provided for free and any support is totally voluntary.


8 decembre 2021
I always noticed that mails by WordPress on a specific managed server were sent with a envelope-from containing the local server name instead of same as from address and website domain name, which gave them a bad spam score. Even the technical support of the host only recommended to use a forced option with PHPMail to set the envelope-from as needed, which unfortunately can only be done by editing WordPress code, which will be overwritten with updates – until now there is this very helpful plugin. Fully recommended if you also have a bad "envelope-from"!
15 mai 2021
First of all, thank you for creating this plugin! I love that it is simple and only made for this one thing! It works great! - Now my (WordPress) sent emails are delivered & signed by my domain name and they are not sent to spam as it was right before I activated this plugin. THANKS!!!
Read all 15 reviews

Contributors & Developers

“Stop WP Emails Going to Spam” is open source software. The following people have contributed to this plugin.


“Stop WP Emails Going to Spam” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Stop WP Emails Going to Spam” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • stop settings link showing twice


  • Improve donation process


= 2.0.0 =
* Add IP blacklist check
* Remove Freemius
* Add donation link


  • Correct display output in settings when SPF redirect to another domain


  • Removed deactivation survey


  • Library Update


  • Move support off menu to settings


  • Minor Fix


  • Minor Fix


  • Ensure default settings work on multisite


  • First Release