Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.3.0
-
None
-
None
-
Debial Linux, Python 2.3.5, "Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)"
Description
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("stephan@one.de,stephan@two.de", "hallo", "moep", "From: stephan@three.de", "-fstephan@three.de"); ?>
(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(">")])
[...]