Outlook .msg file format module
Project description
independetsoft.msg
Microsoft Outlook .msg file module for Python. Use this module to easy create, read, update and parse Outlook message files.
Features
Create message, appointment, task, contact or any other Outlook item.
Read any Outlook .msg file and get all properties.
Convert from Outlook message (.msg file) to MIME message (.eml file)
Convert from MIME message (.eml file) to Outlook message (.msg file)
Set/Get MAPI properties.
Set/Get named properties.
Add attachments.
Read attachments.
Save attachments.
Add embedded messages.
Read embedded messages.
Save embedded messages.
Examples
Create message
Create message with plain text body, set some properties and recipients.
Create HTML message
Create message with HTML and RTF body. Outlook requires RTF body to be set if HTML is present in order to display rich body text.
Create message with attachment
Read message and save attachments to file system
Create appointment
Create contact
Create task
Create note
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.