Email messages seem to have format:

Greetings User. Header message 1

Body message 1.
Footer message 1. Header messsage 2

Body message 2

etc

and there is similar confusion at the end of the message with the link to subscriptions page. This is very misleading to readers! Not easy to debug (hence my suggestion elsewhere for labels for the messages)

Comments

AFowle’s picture

Happily I suddenly came up with two possible answers to this whilst playing.

(1) In the "Input formats", add a filter and rearrange order in "messaging plain text" so that "Line break converter" comes before "HTML To Text".

I am sure there are Drupal experts out there who can say whether this is the best solution or indeed is safe?

(2) Perhaps a better way is to leave the filter alone and add a sprinkling of html br's at appropriate places in the templates. These survive whereas plain text carriage returns do not.

micahw156’s picture

Component: Code » Documentation

This gave me fits, but I think I just figured it out. If you are sending HTML mail, then try adding <p> and <br> as allowed HTML tags in your input filter. Once I did this, I was able to do remove all of the extra things I'd tried, and messages looked fine even with the default templates.

I am changing the issue component from Code to Documentation, because I think the module is (probably) functioning as designed. It would be good if some specific recommendations could be added to the filtering section in http://drupal.org/node/252619 to clarify this.

Micah

jose reyero’s picture

Status: Active » Closed (fixed)

Sure, added to the documentation. Thanks.