Message408331
I am unable to reproduce this on 3.11:
>>> with open(b'lkml-exception.mail', mode = 'r') as f:
... msg = email.message_from_file(f, policy=email.policy.SMTP)
...
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
AttributeError: module 'email' has no attribute 'policy'
>>> import email.policy
>>> with open(b'lkml-exception.mail', mode = 'r') as f:
... msg = email.message_from_file(f, policy=email.policy.SMTP)
...
>>> msg.get_all('to')
['unlisted-recipients:;, @pop.kundenserver.de']
>>> |
|
Date |
User |
Action |
Args |
2021-12-11 18:49:54 | iritkatriel | set | recipients:
+ iritkatriel, barry, frispete, r.david.murray, sjt, python-dev |
2021-12-11 18:49:54 | iritkatriel | set | messageid: <1639248594.07.0.434453779693.issue27257@roundup.psfhosted.org> |
2021-12-11 18:49:54 | iritkatriel | link | issue27257 messages |
2021-12-11 18:49:53 | iritkatriel | create | |
|