This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients barry, frispete, iritkatriel, python-dev, r.david.murray, sjt
Date 2021-12-11.18:49:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1639248594.07.0.434453779693.issue27257@roundup.psfhosted.org>
In-reply-to
Content
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']
>>>
History
Date User Action Args
2021-12-11 18:49:54iritkatrielsetrecipients: + iritkatriel, barry, frispete, r.david.murray, sjt, python-dev
2021-12-11 18:49:54iritkatrielsetmessageid: <1639248594.07.0.434453779693.issue27257@roundup.psfhosted.org>
2021-12-11 18:49:54iritkatriellinkissue27257 messages
2021-12-11 18:49:53iritkatrielcreate