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
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
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
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