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 "Stephan Sann (JIRA)" <se...@james.apache.org> on 2006/10/16 15:49:35 UTC
[jira] Created: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
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("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: http://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
[jira] Resolved: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ 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
[jira] Assigned: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by "Noel J. Bergman (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-662?page=all ]
Noel J. Bergman reassigned JAMES-662:
-------------------------------------
Assignee: Noel J. Bergman
> 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
> Assigned To: Noel J. Bergman
> Priority: Critical
> Fix For: Trunk
>
> 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: http://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
[jira] Updated: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by "Stephan Sann (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-662?page=all ]
Stephan Sann updated JAMES-662:
-------------------------------
Attachment: sendmail.py.works4me
Well, here you are. I modified the script to work with multiple recipients, too.
> 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
> 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: http://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
Re: [jira] Updated: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by Stefano Bagnara <ap...@bago.org>.
Norman Maurer (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/JAMES-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Norman Maurer updated JAMES-662:
> --------------------------------
>
> Fix Version/s: (was: Next Major)
> 2.3.1-dev
>
> I think this should be fixed in 2.3.1 too
+1
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Updated: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer updated JAMES-662:
--------------------------------
Fix Version/s: (was: Next Major)
2.3.1-dev
I think this should be fixed in 2.3.1 too
> 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: Noel J. Bergman
> 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
[jira] Commented: (JAMES-662) sendmail.py doesn't handle multiple
TO-recipients
Posted by "Noel J. Bergman (JIRA)" <se...@james.apache.org>.
[ http://issues.apache.org/jira/browse/JAMES-662?page=comments#action_12442689 ]
Noel J. Bergman commented on JAMES-662:
---------------------------------------
Correct. The code does not attempt to parse an address-list, just a single address, from the To: header. Contributions welcomed.
> 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("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: http://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