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.


1. Juni 2023.
This easy plugin is working fine. Info about donation is absolutely ok, of course. Great work. Thank you.
6. Oktobar 2023. 2 replies
Following the suggestion of the plugin author ([ link removed, do not put links in reviews ]), I’m sharing the feedback of this plugin. The feedback is that this plugin plugs ads in the plugin settings page in a very obtrusive way. It would be acceptable if the plugin had a small sidebar on the settings page where a user could still see their donation request and request for the review, but the first fold of the plugin settings page is all about donation request and asking the user to submit the review. Hopefully they’ll notice this feedback and make changes in the next release.
Read all 46 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.



  • library update


  • Correct server IP detection


  • add buy me a coffee donation option


  • update donation library


  • 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