Summary | SMTP error when using a particular fullname |
Queue | IMP |
Queue Version | 4.1.4 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | reg (at) evolix (dot) fr |
Created | 05/30/2007 (6583 days ago) |
Due | |
Updated | 06/12/2007 (6570 days ago) |
Assigned | 05/30/2007 (6583 days ago) |
Resolved | 06/12/2007 (6570 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
encoded words in the correct place. Both of these bugs have been
fixed in Horde 3.1.5 and HEAD.
State ⇒ Assigned
New Attachment: horde-mime.diff
Comments welcome.
_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 !
of $atom...
#1577.Then I precise that I use PEAR fromDebian Sarge.
The problem is in RFC822.php :
// Check for control characters (ASCII 0-31):
if (preg_match('/[\\x00-\\x1F]+/', $atom)) {
If I print atom, I see :
=?iso-8859-1?b?6Xh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHg=?=
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ IMP
Summary ⇒ SMTP error when using a particular fullname
Type ⇒ Bug
a french accent => EACUTE in HTML) in my personal information:
"éxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", I can't sent a mail with IMP !
I have the message: "Error There was an error sending your message:
unable to set sender to [@]" and my mail server (Postfix) says me that
MAIL FROM is illegal (I use $conf['mailer']['type'] = 'smtp';).
This bug is very strange for me but I see it on different systems
(browser+server).