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.10

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.10
File
aspose_email_for_python_via_net-26.10-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
aspose_email_for_python_via_net-26.10-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details
aspose_email_for_python_via_net-26.10-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
aspose_email_for_python_via_net-26.10-py3-none-macosx_10_14_x86_64.whl Python 3 none macOS 10.14+ x86-64 Details

Total release size: 287.3 MB

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

Download URL aspose_email_for_python_via_net-26.10-py3-none-win_amd64.whl
Size 58.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
826e2d41aa933d07b418f5d6b33231ba7be5a383091c3bad548f42ca5c671ad4
BLAKE2b-256 checksum
How to use checksums
321bcb98bc85b949040e170ffc394d0dc8d34e2a3cde23070c2c296535c3d2a0
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.10-py3-none-manylinux1_x86_64.whl

Download URL aspose_email_for_python_via_net-26.10-py3-none-manylinux1_x86_64.whl
Size 90.0 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f5ae3300211aa4ae66e3eb781b8e7d6954a07c096690fa27fb05e341b12c86bd
BLAKE2b-256 checksum
How to use checksums
1850b2ea8656180ec3be1ca52d6d0132828174bfbc4d9b04ebee0a902f71953c
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.10-py3-none-macosx_11_0_arm64.whl

Download URL aspose_email_for_python_via_net-26.10-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
e8320cd501b3aedf8f26bcdffedc1a5629efb400fba3e34a00af2e51694c1bdc
BLAKE2b-256 checksum
How to use checksums
23c3254aae6c7997b577a2eb94b54d0cc21cc16942e227cfe1904774afd3e970
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.10-py3-none-macosx_10_14_x86_64.whl

Download URL aspose_email_for_python_via_net-26.10-py3-none-macosx_10_14_x86_64.whl
Size 80.8 MB
Tags Python 3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
7a21bd5c1636403678539ae40b2b2f13b465a3fee620da1551e2fb66476153b7
BLAKE2b-256 checksum
How to use checksums
397471d31df2e2b555516141852338e22cfb2214c6be4c043131da96c9b739df
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.10

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.

Release history Release notifications | RSS feed

This release

26.10 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