[development] _drupal_wrap_mail_line()

Gerhard Killesreiter gerhard at killesreiter.de
Fri Oct 8 18:58:18 UTC 2010


-----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.

Cheers,
	Gerhard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyvacoACgkQfg6TFvELooRtpgCeNfdFVHar7Bna+87m/gLAZpCU
RnYAn35QWX9eNZD2wbOAlKiIBtRGX6rA
=YT+D
-----END PGP SIGNATURE-----


More information about the development mailing list