Update cot_mail() to follow RFC 2822 and support UTF8 #1011

Open
ghengeveld opened this Issue Aug 5, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Owner

ghengeveld commented Aug 5, 2012

Mainly, cot_mail should automatically add linebreaks to the email body, so each line will be no longer than 78 characters. Of course this should be done in a way that supports multibyte characters (UTF-8).

See http://tools.ietf.org/html/rfc2822#section-2.1.1

Also, in order to support the full UTF-8 character set, the email body should be base64 encoded. Some solutions for UTF-8 support are offered here (in the comments): http://php.net/manual/en/function.mail.php

trustmaster added the major label Sep 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment