sendmail.py doesn't handle multiple TO-recipients
-------------------------------------------------
Key: JAMES-662
URL: http://issues.apache.org/jira/browse/JAMES-662
Project: James
Issue Type: Bug
Affects Versions: 2.3.0rc5
Environment: Debial Linux, Python 2.3.5, "Java(TM) 2 Runtime
Environment, Standard Edition (build 1.5.0-b64)"
Reporter: Stephan Sann
Priority: Critical
I got a problem with the sendmail.py-script from the /bin-directory:
Wenn I try to send a mail to two TO-recipients from a PHP-Script, only
the first one will be delivered :-(
<?PHP mail("[EMAIL PROTECTED],[EMAIL PROTECTED]", "hallo", "moep", "From:
[EMAIL PROTECTED]", "[EMAIL PROTECTED]"); ?>
(yes, sendmail-option "-t" is set: phpinfo() -> "sendmail_path:
/usr/sbin/sendmail -t")
I'm no Python-guy, but this doesn't look like there's a extraction of multiple
(comma-seperated) recipients:
[...]
if header.startswith("To:"):
if extract:
to = header[3:]
to_addrs.append(to[("<" + to).rfind("<"):(to + ">").find(">")])
[...]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]