New submission from Heghine <heghine.ghazar...@siemplify.co>:

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.

----------
components: email
files: msg file.msg
messages: 397885
nosy: barry, heghine, r.david.murray
priority: normal
severity: normal
status: open
title: Email package issue with Outlook msg files
versions: Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file50167/msg file.msg

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44685>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to