Descrição
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. For that reason, an automatic plaintext generation capability was added to the Newsletter plugin. However, that built-in capability does not apply to Raw HTML newsletters nor does it apply to transactional emails.
The purpose of this add-on is to add a plaintext generation option to all newsletters and emails sent by the Newsletter plugin.
For Raw HTML newsletters, this add-on adds the same “Autogenerate” / “Hand edited” dropdown on the Advanced settings tab that is also present for newsletters created using the Composer.
For transactional emails (such as the Welcome message, the Activation email, the Goodbye email), this add-on adds a global setting. Note that this will overwrite the default text versions generated by the Newsletter plugin for the Welcome message and the Activation email.
The plain text version is generated by code that is now part of the Newsletter plugin. It 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
- all Newsletter plugin’s mail delivery integration add-ons (e.g. SMTP, SendGrid, etc)
- the Superfast Mailgun for the Newsletter plugin add-on
- the Mailgun for WordPress plugin when configured to use SMTP
- certain other third-party mail plugins, e.g. WP Mail SMTP and Easy WP SMTP
This add-on is not compatible with mailer plugins that replaces the wp_mail() function (e.g. Mailgun for WordPress configured to use the HTTP API). In that case, a warning will be displayed on the Plaintext options page.
Please provide feedback on the Support forum. Thanks!
Imagens de tela
Instalação
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. The settings menu is integrated with the Newsletter’s menus.
Avaliações
Contribuidores e desenvolvedores
“Plaintext for the Newsletter plugin” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.
ContribuidoresTraduzir “Plaintext for the Newsletter plugin” para o seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.
Registro de alterações
Version 3.1
- Verified compatibility with WP 6.3
- Removed support for built-in SMTP. Requires Newsletter 7.8.0 or higher.
Version 3.0
- Verified compatibility with PHP 8.1.
- Improved integration with Newsletter plugin’s built-in plaintext capability.
Version 2.4
- Fixed PHP Notice “Undefined index”.
Version 2.3
- Now compatible with Newsletter’s free SMTP add-on.
- Verified compatibility with PHP 7.4
Version 2.2
- Verifed compatibility with WP 5.6 and Newsletter 7.0.1.
- Fixed PHP warnings.
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.