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 heghine
Recipients barry, heghine, r.david.murray
Date 2021-07-20.16:02:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626796935.18.0.522723051399.issue44685@roundup.psfhosted.org>
In-reply-to
Content
The email package has an issue with extracting the attachments from the email if the email is sent with the Outlook application with .msg files.

When I'm sending an email from the Outlook app by attaching .msg files to the email, the recipient receives the email but instead of .msg files, the email contains .eml files. So Outlook auto transforms the attached .msg to .eml.
When I'm trying to read and extract attachments with the email package by using the Message class "get_payload" method, the extracted data for the mentioned attachment doesn't contain necessary information like "content-disposition" or "filename", so working with that attachment is impossible.

For all other .eml files everything works fine. The issue exists only in the case of transformed .eml files. However, that .eml looks like any other eml file in the received mail.
History
Date User Action Args
2021-07-20 16:02:15heghinesetrecipients: + heghine, barry, r.david.murray
2021-07-20 16:02:15heghinesetmessageid: <1626796935.18.0.522723051399.issue44685@roundup.psfhosted.org>
2021-07-20 16:02:15heghinelinkissue44685 messages
2021-07-20 16:02:15heghinecreate