What's the relationship Outlook email format (.msg)" to Office 365 and IMAP?

0

I'm writing a Python CLI script with IMAPClient to parse MS Office 365 email messages. Right now I'm learning about MIME emails and looking for solutions to parse multipart messages to get to HTML tables within.

I found a wrapper for Python's email parser called mail-parser

mail-parser is not only a wrapper for email Python Standard Library. It give you an easy way to pass from raw mail to Python object that you can use in your code. It's the key module of SpamScope.

mail-parser can parse Outlook email format (.msg). To use this feature, you need to install libemail-outlook-message-perl package.

I'm interested to know if this package's ability to parse "Outlook email format (.msg)" will be useful for this task or future problems (we use a ton of email at work)

-- Will I encounter "Outlook email format (.msg)" messages if I'm connecting to Office 365 using IMAP? If not, in what context will I encounter these messages?

xtian

Posted 2018-10-07T18:11:11.160

Reputation: 782

Msg files are only created when you “save” a message in Outlook. Or forward as an attachment. – Appleoddity – 2018-10-07T19:34:31.300

Ok. If I drag and drop an email to the desktop, for example, I get a .msg file. If I attach this file to a message, then my IMAP results could contain .msg files? – xtian – 2018-10-07T19:47:09.457

No answers