[development] _drupal_wrap_mail_line()

Gordon Heydon gordon at heydon.com.au
Sat Oct 9 01:38:25 UTC 2010


Hi,

On 09/10/2010, at 5:58 AM, Gerhard Killesreiter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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.

Also I think if I remember correctly according to the RFC plaintext needs to be wrapped at 76 chars, but I think these days it is a guideline more than a rule.

Gordon.



More information about the development mailing list