[OGo-Bugs][Bug 1671] MIME lines are sometimes to long, longer than 76 chars
bugs@opengroupware.org
bugs@opengroupware.org
Wed, 21 Mar 2007 12:36:30 +0100 (CET)
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1671
------- Additional Comments From helge.hess@opengroupware.org 2007-03-21 12:36 -------
http://www.ietf.org/rfc/rfc2045.txt
http://www.ietf.org/rfc/rfc2822.txt
Wrt my initial comment, I think that we have API support for doing base64
encoding with a maximum length. We don't have that for QP.
Well and in the specific HTML sample we don't use base64, the relevant section
is RFC2822, 3.5:
A message consists of header fields, optionally followed by a message
body. Lines in a message MUST be a maximum of 998 characters
excluding the CRLF, but it is RECOMMENDED that lines be limited to 78
characters excluding the CRLF.
I'm not entirely sure what the generator is supposed to do when it gets content
with long lines (can content lines get folded?). Probably we would switch to
base64 with the line length limit.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.