Message337989
| Author | remi.lapeyre |
|---|---|
| Recipients | Fotoblysk, barry, r.david.murray, remi.lapeyre |
| Date | 2019-03-15.13:34:53 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1552656893.42.0.720185788901.issue36303@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Here's how you can rewrite your code so it is more explicit:
Python 3.7.2 (default, Feb 12 2019, 08:15:36)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from email.mime.text import MIMEText
>>> msg = MIMEText('<div/>', 'html')
>>> msg.add_header('To', "this.email.shouldnt.be.printed@nokia.com")
>>> msg.add_header('To', "valid.email@nokia.com")
>>> print(msg.get_all('To'))
['this.email.shouldnt.be.printed@nokia.com', 'valid.email@nokia.com'] |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-03-15 13:34:53 | remi.lapeyre | set | recipients: + remi.lapeyre, barry, r.david.murray, Fotoblysk |
| 2019-03-15 13:34:53 | remi.lapeyre | set | messageid: <1552656893.42.0.720185788901.issue36303@roundup.psfhosted.org> |
| 2019-03-15 13:34:53 | remi.lapeyre | link | issue36303 messages |
| 2019-03-15 13:34:53 | remi.lapeyre | create | |