Plaintext for the Newsletter plugin

Description

New in version 2: Now also processes transactional emails

The Newsletter Plugin is great for generating HTML newsletters. Its sophisticated Drag & Drop Composer makes it very easy to create a newsletter that looks good and renders well in a variety of email readers.

But it is generally considered good practice to include “plain text” version of the newsletter as well.

Plaintext for the Newsletter plugin adds a new item “Plaintext” in the Newsletter Settings menu. The Plaintext Settings panel has two options:

  • Auto-generate plain text for newsletters

    • When this is set to “Yes”, a plain text version of each newsletter is automatically created just before the newsletter is sent.
    • When this is set to “No”, a command is added to the newsletter’s Edit/Advanced panel that allows you to manually generate a plain text version of the newsletter and customize it if necessary.
  • Auto-generate plain text for transactional emails
    Examples of transactional emails: the Welcome message, the Activation email, the Goodbye email.

The plain text version is created by reading the HTML version of the email and removing the formatting. Images are replaced by their “alt” tag and links are shown in brackets.

For an example, see my blog.

This add-on is compatible with

  • WordPress default mailer, if configured
  • the Newsletter plugin’s built-in SMTP mailer
  • all Newsletter mail delivery integration add-ons (e.g. Mailgun, SendGrid)
  • the “Mailgun for WordPress” plugin when configured to use SMTP (i.e. “Use HTTP API” set to No)
  • certain other third-party mail plugins, e.g. WP Mail SMTP

Emails sent through a third-party mail plugin that replaces the wp_mail() function will not include a plain text version. A warning will be displayed in that case.

Please provide feedback on the Support forum. Thanks!

Screenshots

  • Plaintext Settings
  • Newsletter admin page with added Auto-generate command

Installation

This add-on will only work if you have The Newsletter Plugin installed.

To use the Plaintext add-on, just install it like any other plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Plaintext for the Newsletter plugin” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 2.1

  • Display a warning if another plugin has replaced the wp_mail() function.

Version 2.0

  • Optional automatic generation for newsletters. Manual generation also still supported.
  • Optional automatic generation for transactional emails.
  • Improved plain text look.

Version 1.0

  • Beta period finished. No code changes since 0.4.

Version 0.4

  • Initial version. Please provide feedback on the Support forum.