Aspose.Email for Python via .NET is a complete set of Email Processing APIs to create, read and manipulate emails from within your Python applications. It makes it easier to work with many Outlook email message formats such as MSG, EML, EMLX and MHT files without the need of installing Microsoft Outlook. It also enables you to manage message storage files - Personal Storage Files (PST), Offline Storage Files (OST) along with message sending and receiving capabilities. You can also read and extract Outlook PST file that can be saved to disk in MSG format.
Directory | Description |
---|---|
Examples | A collection of Python examples that help you learn the product features |
- Create emails containing plain text as well as
HTML
. - Create alternative message bodies.
- Connect to
SSL
enabled as well asTLS
based SMTP server.
- Add/remove email attachments.
- Create attachments from file paths.
- Embed images, sound files or other types of objects into emails.
- Ability to embed objects from file paths, streams or byte arrays.
- Import
MSG
,MHT
, orRFC822
compliantEML
emails. - Create emails from
HTML
content. - Export emails to
MSG
, orRFC822
compliantEML
format. - Export emails from an Outlook
PST
file to OutlookMSG
files.
- Send emails in batches.
- Built-in multi-threading feature for sending bulk emails.
- Save bulk email messages in a message pool.
- Add
iCalender
events to email messages. - Cancel
iCalendar
events. - Send meeting and appointment requests by email.
- Customize email headers.
- Set message priority, date and time.
- Supports all character sets.
- Request read receipts.
- Asynchronous and synchronous programming models.
- Supports parsing emails in
MSG
,MHT
andEML
formats. - Supports saving emails to
MSG
,MHT
andEML
formats. - Extract attachments from Microsoft Outlook Email Message (
MSG
) files. - Read messages from Outlook
PST
files. - Supports backup
SMTP
connection. - Specify the number of attempts for
SMTP
connections
For a more comprehensive list of features please visit Features Overview page.
Microsoft Outlook: MSG, PST, OST, OFT
Email: EML, EMLX, MBOX
Others: ICS, VCF, HTML, MHTML
- Microsoft Windows: Windows Desktop & Server (
x86
,x64
) - Python Versions: Python
3.5
or higher
Aspose.Email for Python via .NET is available as downloadable .whl file in the API’s download section as well as hosted on Pypi. For the detailed instructions please visit Installing Aspose.Email for Python via .NET documentation page.
For complete examples and data files, please go to https://github.com/aspose-email/aspose-email-python-dotnet
with ImapClient("imap.gmail.com", 993, "username", "password") as client:
client.select_folder("Inbox")
builder = ImapQueryBuilder()
builder.subject.contains("Newsletter")
builder.internal_date.on(dt.datetime.now())
query = builder.get_query()
msgsColl = client.list_messages(query)
print("Total Messages fulfilling search criterion: " + str(len(msgsColl)))
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License