[Tickets #5412] Re: SMTP error when using a particular fullname

bugs at bugs.horde.org bugs at bugs.horde.org
Wed May 30 03:27:53 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5412
-----------------------------------------------------------------------
 Ticket             | 5412
 Updated By         | reg at evolix.fr
 Summary            | SMTP error when using a particular fullname
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


reg at evolix.fr (2007-05-29 20:27) wrote:

And second part of this strange problem is in Horde/MIME.php  and _encode
function :

        /* RFC 2047 [2] states that no encoded word can be more than 75
           characters long. If longer, you must split the word. */
        if (($txt_len + $char_len + 7) > 75) {
            $pos = intval((68 - $char_len) / 2);
            return MIME::_encode(substr($text, 0, $pos), $charset) . '  '
. MIME::_encode(substr($text, $pos), $charset); 

That's why this problem depends of the lenght of the Full Name !



More information about the bugs mailing list