On Friday 08 October 2010, Gerhard Killesreiter wrote:
On 08.10.2010 20:28, Dave Cohen wrote:
With markup like HTML, we consider it the job of the browser to display it correctly. Email is no different.
Email (as in text/plain) is different. It is not a markup language.
I still don't see any reason to break the lines. (Tradition not being an influence on drupal in any other area AFAIK.)
Drupal sends plain-text emails by default. Plain text mails should (in my opinion) be wrapped to 80 lines. If you want to send html-mail you need to use some contributed module. That module can undo the wrapping of the text for the html mails, if desired.
I would like to see an option on wrapping text email, perhaps in hook_mail. Reason is that I sometimes use email for automated use, the recipient is a script, not a human and wrapping would be a pain. I have no problem with wrapping being the default ;-) Perhaps it can be done with hook_email_alter(), haven't tried that yet, I'll cross that bridge when I get there.
Cheers, Gerhard
-- ----------------- Bob Hutchinson Midwales dot com -----------------