If you use simplenews with mimemail to send HTML mail, the HTML version of your newsletter is automatically transformed to a plain text version. We wanted to have more control over the output for the plain text newsletter.

The patch attached to the issue adds a extra field to the Newsletter settings. You can now choose the body field or use a CCK text field (if you have CCK installed) to define a text field wich contains your plain text output for the newsletter. You can define the default value for the field in the simplenews settings, or override the default with the settings in the node of your newsletter. If you choose the option 'none' the newsletter is automatically transformed from HTML to plain text the same way it works now.

Last but not least there is a theme function wich you can override to add even more control to the text version of the newsletter.

I hope this helps for everyone who wants more control over the plain text output of the newsletter!

Regards,
Sean

CommentFileSizeAuthor
simplenews-plain_field.patch10.46 KBseanB
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Simon Georges’s picture

It seems the whole discussion is going on on #437456: Allow to use a field for the text part of a multipart message, shouldn't we close this one (as the other one incorporates this patch) as a duplicate ?

miro_dietiker’s picture

Status: Needs review » Closed (duplicate)

Thanks for cross reference.

Switching to duplicate status.