[bugs] [Bug 1171] New - non ascii recipient causes trouble.

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Feb 11 10:51:17 PST 2003


http://bugs.horde.org/show_bug.cgi?id=1171

*** shadow/1171	Tue Feb 11 10:51:17 2003
--- shadow/1171.tmp.16760	Tue Feb 11 10:51:17 2003
***************
*** 0 ****
--- 1,34 ----
+ Bug#: 1171
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: All Browsers
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: major
+ Priority: P1
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck at horde.org                            
+ ReportedBy: manu at agat.net               
+ URL: 
+ Summary: non ascii recipient causes trouble.
+ 
+ No check is performed when a user send an email, to test if the recipient is 
+ http://www.ietf.org/rfc/rfc2822.txt?number=2822 section 2.2 compliant (no 8bits
+ and more...).
+ a simple work around is to test if 8bits are present in the recipient.
+ 
+ in imp-3.1/compose.php, line ~810:
+ $status = $mailer->send(MIME::encodeAddress($recipients, null,
+ $imp['maildomain']), $headers, $msg);
+ 
+ MIME::encodeAddress works only if $recipient has no 8bits chars. 
+ A check must be done before:
+ 
+  if (MIME::is8bit($recipients)) { ...}
+ 
+ without this test, the mail is send to ...???? ?
+ in my case, to root at localhost.
+ 
+ Emmanuel


More information about the bugs mailing list