Aspose.Email-for-Python-via-NET


NameAspose.Email-for-Python-via-NET JSON
Version 24.12 PyPI version JSON
download
home_pagehttps://products.aspose.com/email/python-net
SummaryA collection of components for working with email. It makes it easy to work with Outlook PST, EML, MSG and MHT files.
upload_time2024-12-11 21:21:05
maintainerNone
docs_urlNone
authorAspose
requires_python<3.14,>=3.5
licensehttps://company.aspose.com/legal/eula
keywords email eml msg pst ost outlook exchange imap smtp pop3 thef mht mbo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

- Open or save emails in a variety of formats.
- Parse, read and save Microsoft Outlook messages and message archives.
- Comprehensive Object Model for MIME messages.
- Embed objects to email messages.
- Send individual or bulk emails.
- Create emails using Mail Merge while incorporating data from different types of sources.
- Create & consume iCalendar compliant recurrence patterns.
- [Connect to POP3 server for message management](https://docs.aspose.com/display/emailpythonnet/Connect+to+POP3+Server).
- [Access and manage emails, folders & filters using IMAP](https://docs.aspose.com/display/emailpythonnet/Connecting+to+IMAP+Server).
- [Send or forward messages via SMTP](https://docs.aspose.com/display/emailpythonnet/Sending+and+Forwarding+Messages).
- Verify email addresses, processing bounced messages, analyze spam via Bayesian & more.


## 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](https://docs.aspose.com/display/emailpythonnet/Developer+Guide) for all possible usage scenarios.

## Inspect PST Structure & Items via Python

```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

```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)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/email/python-net",
    "name": "Aspose.Email-for-Python-via-NET",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.14,>=3.5",
    "maintainer_email": null,
    "keywords": "Email, eml, msg, pst, ost, outlook, exchange, imap, smtp, pop3, thef, mht, mbo",
    "author": "Aspose",
    "author_email": null,
    "download_url": null,
    "platform": "macos_x86_64",
    "description": "# Python Email API\n\nAspose.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.\n\nAspose.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.\n\n## Email Features\n\n- Open or save emails in a variety of formats.\n- Parse, read and save Microsoft Outlook messages and message archives.\n- Comprehensive Object Model for MIME messages.\n- Embed objects to email messages.\n- Send individual or bulk emails.\n- Create emails using Mail Merge while incorporating data from different types of sources.\n- Create & consume iCalendar compliant recurrence patterns.\n- [Connect to POP3 server for message management](https://docs.aspose.com/display/emailpythonnet/Connect+to+POP3+Server).\n- [Access and manage emails, folders & filters using IMAP](https://docs.aspose.com/display/emailpythonnet/Connecting+to+IMAP+Server).\n- [Send or forward messages via SMTP](https://docs.aspose.com/display/emailpythonnet/Sending+and+Forwarding+Messages).\n- Verify email addresses, processing bounced messages, analyze spam via Bayesian & more.\n\n\n## Read & Write Email Formats\n\n**Microsoft Outlook:** MSG, PST, OST, OFT\n**Email:** EML, EMLX, MBOX\n**Others:** ICS, HTML, MHTML\n\n## Getting Started with Aspose.Email for Python via .NET\n\nAre 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](https://docs.aspose.com/display/emailpythonnet/Developer+Guide) for all possible usage scenarios.\n\n## Inspect PST Structure & Items via Python\n\n```python\npersonalStorage = PersonalStorage.from_file(dataDir + \"template.pst\")\nfolderInfoCollection = personalStorage.root_folder.get_sub_folders()\nfor folderInfo in folderInfoCollection:\n\tprint(\"Folder: \" + folderInfo.display_name)\n\tprint(\"Total Items: \" + str(folderInfo.content_count))\n\tprint(\"Total Unread Items: \" + str(folderInfo.content_unread_count))\n\tprint(\"----------------------\")\n```\n\n## Send Bulk Emails via SMTP using Python\n\n```python\nmessage1 = MailMessage(\"from@gmail.com\", \"to@gmail.com\", \"Sending Bulk Emails using Aspose.Email\", \"message1, how are you?\")\nmessage2 = MailMessage(\"from@gmail.com\", \"to@gmail.com\", \"Sending Bulk Emails using Aspose.Email\", \"message2, how are you?\")\nmessage3 = MailMessage(\"from@gmail.com\", \"to@gmail.com\", \"Sending Bulk Emails using Aspose.Email\", \"message3, how are you?\")\n\nmanyMsg =  MailMessageCollection()\nmanyMsg.append(message1)\nmanyMsg.append(message2)\nmanyMsg.append(message3)\n\n#Send using Smtp Client\nclient = SmtpClient(\"smtp.gmail.com\", 995, \"username\", \"password\")\nclient.security_options = SecurityOptions.AUTO\n\nclient.send(manyMsg)\n```\n",
    "bugtrack_url": null,
    "license": "https://company.aspose.com/legal/eula",
    "summary": "A collection of components for working with email. It makes it easy to work with Outlook PST, EML, MSG and MHT files.",
    "version": "24.12",
    "project_urls": {
        "Homepage": "https://products.aspose.com/email/python-net"
    },
    "split_keywords": [
        "email",
        " eml",
        " msg",
        " pst",
        " ost",
        " outlook",
        " exchange",
        " imap",
        " smtp",
        " pop3",
        " thef",
        " mht",
        " mbo"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3f1508b97b2caa31b760171eb754971ae182be975e6ae8d61e0a86d4ff3f17d",
                "md5": "cbb9bd75dc680132895d73c5f0c069b4",
                "sha256": "120d31abc34b1ad4e81e27ad28308b7928bc462273a827f97e7256744f595728"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.12-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "cbb9bd75dc680132895d73c5f0c069b4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 77444011,
            "upload_time": "2024-12-11T21:21:05",
            "upload_time_iso_8601": "2024-12-11T21:21:05.920291Z",
            "url": "https://files.pythonhosted.org/packages/d3/f1/508b97b2caa31b760171eb754971ae182be975e6ae8d61e0a86d4ff3f17d/Aspose.Email_for_Python_via_NET-24.12-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "121b678da2aaa222723f31a9abaa46e834cb6e010feced9c058c3a769c7041c5",
                "md5": "abef67a97f0eb86a83d0c7304f1ef733",
                "sha256": "62d7b081327d6266c1e7d2260d259c56cdc00a643ba3fe4bf11e72491f40e9ab"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.12-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "abef67a97f0eb86a83d0c7304f1ef733",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 56940388,
            "upload_time": "2024-12-11T21:21:27",
            "upload_time_iso_8601": "2024-12-11T21:21:27.006721Z",
            "url": "https://files.pythonhosted.org/packages/12/1b/678da2aaa222723f31a9abaa46e834cb6e010feced9c058c3a769c7041c5/Aspose.Email_for_Python_via_NET-24.12-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79b4015f2bb090fd34a960569dfb56ab6a58f7eecb787376f1a7ee6a733ddb03",
                "md5": "9947e327d64c8d51e9c4671b2b0a42f0",
                "sha256": "662f110b2945302b0f31a1efb892293981c98041ddea4895f739106279078509"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.12-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9947e327d64c8d51e9c4671b2b0a42f0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 87867908,
            "upload_time": "2024-12-11T21:22:04",
            "upload_time_iso_8601": "2024-12-11T21:22:04.385030Z",
            "url": "https://files.pythonhosted.org/packages/79/b4/015f2bb090fd34a960569dfb56ab6a58f7eecb787376f1a7ee6a733ddb03/Aspose.Email_for_Python_via_NET-24.12-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4aa92ef5b73c3a5be9fb10f67e64190a4418dfee5c9d2b9e317b7a2247d3df70",
                "md5": "ecfcfa83a5b052f5509bbdc0f1fbe00f",
                "sha256": "6be1679c0742ecbbba77349f54209edf26c699d3f03f3932a03347ff9b470114"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.12-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ecfcfa83a5b052f5509bbdc0f1fbe00f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 58340474,
            "upload_time": "2024-12-11T21:22:33",
            "upload_time_iso_8601": "2024-12-11T21:22:33.098165Z",
            "url": "https://files.pythonhosted.org/packages/4a/a9/2ef5b73c3a5be9fb10f67e64190a4418dfee5c9d2b9e317b7a2247d3df70/Aspose.Email_for_Python_via_NET-24.12-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-11 21:21:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose.email-for-python-via-net"
}
        
Elapsed time: 0.38610s