Skip to main content

Python Email API

Aspose.Email for Python via .NET is a suite of flexible and easy to use class libraries brought together to produce the most powerful Email Programming Component available today. The Python Email API implements a number of network protocols including SMTP, MIME, POP3, IMAP for creating, sending & receiving messages without needing to have any other component. It can also manipulate, extract & convert message files & message archives.

Aspose.Email for Python via .NET also provides classes and algorithms that are useful for time-oriented recurrence patterns, or schedules. The central concepts are coherent with the iCalendar RFC (2445), so it is easy to incorporate iCalendar features into your own python applications.

Email Features

Read & Write Email Formats

Microsoft Outlook: MSG, PST, OST, OFT Email: EML, EMLX, MBOX Others: ICS, HTML, MHTML

Getting Started with Aspose.Email for Python via .NET

Are you ready to give Aspose.Email for Python via .NET a try? Simply execute pip install Aspose.Email-for-Python-via-NET to get the latest version & try any of the following code snippets. You may also check the detailed Developer's Guide for all possible usage scenarios.

Inspect PST Structure & Items via Python

personalStorage = PersonalStorage.from_file(dataDir + "template.pst")
folderInfoCollection = personalStorage.root_folder.get_sub_folders()
for folderInfo in folderInfoCollection:
	print("Folder: " + folderInfo.display_name)
	print("Total Items: " + str(folderInfo.content_count))
	print("Total Unread Items: " + str(folderInfo.content_unread_count))
	print("----------------------")

Send Bulk Emails via SMTP using Python

message1 = MailMessage("from@gmail.com", "to@gmail.com", "Sending Bulk Emails using Aspose.Email", "message1, how are you?")
message2 = MailMessage("from@gmail.com", "to@gmail.com", "Sending Bulk Emails using Aspose.Email", "message2, how are you?")
message3 = MailMessage("from@gmail.com", "to@gmail.com", "Sending Bulk Emails using Aspose.Email", "message3, how are you?")

manyMsg =  MailMessageCollection()
manyMsg.append(message1)
manyMsg.append(message2)
manyMsg.append(message3)

#Send using Smtp Client
client = SmtpClient("smtp.gmail.com", 995, "username", "password")
client.security_options = SecurityOptions.AUTO

client.send(manyMsg)

Metadata

Release files for Aspose.Email-for-Python-via-NET 26.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for Aspose.Email-for-Python-via-NET 26.11
File Actions
aspose_email_for_python_via_net-26.11-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aspose_email_for_python_via_net-26.11-py3-none-win_amd64.whl
aspose_email_for_python_via_net-26.11-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details for aspose_email_for_python_via_net-26.11-py3-none-manylinux1_x86_64.whl
aspose_email_for_python_via_net-26.11-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for aspose_email_for_python_via_net-26.11-py3-none-macosx_11_0_arm64.whl
aspose_email_for_python_via_net-26.11-py3-none-macosx_10_14_x86_64.whl Python 3 none macOS 10.14+ x86-64 Details for aspose_email_for_python_via_net-26.11-py3-none-macosx_10_14_x86_64.whl

Total release size: 287.5 MB

Release files / aspose_email_for_python_via_net-26.11-py3-none-win_amd64.whl

Download URL aspose_email_for_python_via_net-26.11-py3-none-win_amd64.whl
Size 58.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
97628fe0531f492f529ddcb11c686a7263033a717feaab17dd3b9c597a388216
BLAKE2b-256 checksum
How to use checksums
a6d7c6aebc5377ad4904cc9994a15148229039d5f12dfce28cc037291a34f497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / aspose_email_for_python_via_net-26.11-py3-none-manylinux1_x86_64.whl

Download URL aspose_email_for_python_via_net-26.11-py3-none-manylinux1_x86_64.whl
Size 90.1 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
488aa4211e2f80b0d000e46220fb6c7195031690d4b2eb4724ae273aa72ec4f3
BLAKE2b-256 checksum
How to use checksums
374732da535c7142544323ba771c98842f66af047fe0341b3c0ab46902324f33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / aspose_email_for_python_via_net-26.11-py3-none-macosx_11_0_arm64.whl

Download URL aspose_email_for_python_via_net-26.11-py3-none-macosx_11_0_arm64.whl
Size 58.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0c8f3bd42a84d34a1b5e414b9be720e9a48634d097378f157b6135e43f873fb6
BLAKE2b-256 checksum
How to use checksums
fae4ccfb563a1ab91fc0c67b8ba9df229d059139e17d98f540199cc950bdb75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / aspose_email_for_python_via_net-26.11-py3-none-macosx_10_14_x86_64.whl

Download URL aspose_email_for_python_via_net-26.11-py3-none-macosx_10_14_x86_64.whl
Size 80.9 MB
Tags Python 3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
a0104bde1fbff8963caecb752ac1064448b04dd8e0484b29cdb17986c7723f38
BLAKE2b-256 checksum
How to use checksums
0bc1cc4c57ef99ea4652838687242780ea454e3e399a06ece9d152dc4721f3c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for Aspose.Email-for-Python-via-NET 26.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.11 This release

4 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page