priority
Standard
status
New Issue

qcodo
0.4.20 (Stable)
category
Email Services
php
5.3.0



Votes
There is 1 vote for this issue:
marcosdsanchez

reported: friday, january 21, 2011, 6:56 am pst  |  by: Mike Ho  |  messages: 3 messages  |  last: about 8 years ago


#1  |  Mike Ho (San Diego, CA) United States of America Qcodo Administrator
Friday, January 21, 2011, 6:56 AM PST

RFC 2822 specifies that header field lengths should be no more than 78 characters per line, with 998 total characters (including CRLF) per field.

QEmailServer should add some constraints to ensure that, for example, no one can set a ->Subject field to be of length greater than what the RFC specifies.

We should also ensure that it does the proper line breaking and continuation so that it fulfills the 78 character requirement.

#2  |  marcosdsanchez (Buenos Aires, Argentina) Argentina
Friday, March 11, 2011, 9:57 AM PST

To make things worst...if you introduce a strange character like “ñ” in the subject. The body of the message is garbled.

#3  |  Mike Ho (San Diego, CA) United States of America Qcodo Administrator
Monday, July 18, 2011, 7:33 AM PDT

As long as it is UTF-8 encoded, the subject should be utf-8 escaping correctly... if it's not, please post some sample code that can replicate the issue you're talking about.  Thanks!



Copyright © 2005 - 2019, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.