[issue24066] send_message should take all the addresses in the To: header into account

2015-05-02 Thread Kirill Elagin
Kirill Elagin added the comment: Ah, I’m so dumb. Of course the tests work as there are multiple addresses but still just one field. Here is the test for multiple fields. -- Added file: http://bugs.python.org/file39263/multiple_fields_test.patch

[issue24066] send_message should take all the addresses in the To: header into account

2015-05-02 Thread Kirill Elagin
Kirill Elagin added the comment: Oh, I see now. It is a good idea to raise an error either in `send_message` or at the moment when a second `To`/`Cc`/`Bcc` header is added to the message. -- resolution: - not a bug status: open - closed ___ Python

[issue24066] send_message should take all the addresses in the To: header into account

2015-04-28 Thread Kirill Elagin
Kirill Elagin added the comment: x_x -- keywords: +patch Added file: http://bugs.python.org/file39219/multiple_to.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24066

[issue24066] send_message should take all the addresses in the To: header into account

2015-04-27 Thread Kirill Elagin
New submission from Kirill Elagin: If I have a message with multiple `To` headers and I send it using `send_message` not specifying `to_addrs`, the message gets sent only to one of the recipients. I’m attaching my patch that makes it send to _all_ the addresses listed in `To`, `Cc` and `Bcc