You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2007/01/15 09:16:27 UTC

[jira] Resolved: (JAMES-662) sendmail.py doesn't handle multiple TO-recipients

     [ https://issues.apache.org/jira/browse/JAMES-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-662.
---------------------------------

    Resolution: Fixed
      Assignee: Norman Maurer  (was: Noel J. Bergman)

> sendmail.py doesn't handle multiple TO-recipients
> -------------------------------------------------
>
>                 Key: JAMES-662
>                 URL: https://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
>         Assigned To: Norman Maurer
>            Priority: Critical
>             Fix For: 2.3.1-dev
>
>         Attachments: sendmail.py.works4me
>
>
> 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(">")])
> [...]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org