Add Plain-Text Email

November 20, 2023

Add Plain-Text Email Plugin

Adds a text/plain email to text/html emails to decrease the chance of emails being tagged as spam.

Add Plain-Text Email

This plugin will add a plain/text version of your HTML emails to your WordPress emails. This decreases the chance of your legit emails being marked as spam by tools as SpamAssassin.

This plugin comes without any settings. When activated, it will automatically look for HTML emails being sent using the wp_mail() function and when necessary add the plain text version.

If you have more question about the why’s of this plugin, take a look at the FAQ.

More information

Installation

Installing the plugin

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Add Plain Text Email and click “Install now”
  2. Alternatively, download the plugin and upload the contents of add-plain-text-email.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin. Your HTML emails will now automatically have a plain text version attached.
  4. (Optional) Test your new mail score using http://mail-tester.com/

FAQ

Why add a plain text version?

Because it decreases the chance of your legit email being marked as being spam and thus disappearing in spam folders.

http://wiki.apache.org/spamassassin/Rules/MIME_HTML_ONLY

Will this mess up my HTML email?

No, the plugin does not affect the HTML message of emails.

Will the people I send email to notice?

No, 99% of all email clients will just show the HTML version of the email.

The other 1% can’t properly display HTML and will show the plain text email. Without this plugin, they would have had nothing to show.

Where can I check my SpamAssassin score?

You can use the following online tools to test the spammyness of your WordPress emails.

http://mail-tester.com/
http://isnotspam.com/
http://spamscorechecker.com/
http://www.port25.com/support/authentication-center/email-verification/

Changelog

1.2 – Nov 20, 2023

  • Preserve href attribute from <a> elements. Thanks Benjamin Danon!
  • Remove PHPMailer parameter type as it somehow isn’t working on some set-ups…

1.1.3 – Dec 23, 2022

  • Remove incorrectly working check to prevent running more than once.
  • Update tested WP version.
  • Add license information to source code.

1.1.2 – September 1, 2015

Remove faulty debugging statement.

1.1.1 – August 31, 2015

Improvements: The plugin is now a lot smarter when it comes to adding line-breaks.

1.1 – August 24, 2015

  • Fixed: WordPress’s “lost password” emails were stripped of links.
  • Improvement: Now only running on text/html emails with no text version.

1.0 – October 21, 2013

  • Initial release

Details

  • Version: 1.2.0
  • Active installations: 100
  • WordPress Version: 3.1
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars