Aspose.Email-for-Python-via-NET


NameAspose.Email-for-Python-via-NET JSON
Version 24.4 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-04-04 20:14:26
maintainerNone
docs_urlNone
authorAspose
requires_python<3.12,>=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.12,>=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.4",
    "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": "925999f2a581ee4765bbfbc39758e1f2431abca5626a618acd45249620fcf34e",
                "md5": "4a59b5fb91a0218610eb9a1c0db3a589",
                "sha256": "f78074ecf6e161918802fb50e6d111bc3d97d85237ce35bc11de48a2779bc9d6"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.4-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4a59b5fb91a0218610eb9a1c0db3a589",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 67444987,
            "upload_time": "2024-04-04T20:14:26",
            "upload_time_iso_8601": "2024-04-04T20:14:26.941172Z",
            "url": "https://files.pythonhosted.org/packages/92/59/99f2a581ee4765bbfbc39758e1f2431abca5626a618acd45249620fcf34e/Aspose.Email_for_Python_via_NET-24.4-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84598b2ab9bbc5cff24d6299ab41b6d77d45815dfc7b1c0f836c6bf1c11b3a82",
                "md5": "f96b9c6bc7b964a98851c8b00935711b",
                "sha256": "0a279592a5205de03f5de39d812dc6f328b4a25bbbd571a75cef8321f4bdbe6c"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.4-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f96b9c6bc7b964a98851c8b00935711b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 45008227,
            "upload_time": "2024-04-04T20:14:53",
            "upload_time_iso_8601": "2024-04-04T20:14:53.448361Z",
            "url": "https://files.pythonhosted.org/packages/84/59/8b2ab9bbc5cff24d6299ab41b6d77d45815dfc7b1c0f836c6bf1c11b3a82/Aspose.Email_for_Python_via_NET-24.4-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5965ebced1d7635e9d43ae6db019f2eab83c72440479a68692d29d719d22fc83",
                "md5": "ba8a4b1e316e0b3c1445d5af50543235",
                "sha256": "bf083d23e3f55c2990919103d8dc5123f8c82025827b593c3fdfa7b1b6f06943"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.4-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ba8a4b1e316e0b3c1445d5af50543235",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 75341996,
            "upload_time": "2024-04-04T20:15:22",
            "upload_time_iso_8601": "2024-04-04T20:15:22.352579Z",
            "url": "https://files.pythonhosted.org/packages/59/65/ebced1d7635e9d43ae6db019f2eab83c72440479a68692d29d719d22fc83/Aspose.Email_for_Python_via_NET-24.4-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dd981517b3a7a0b0d5c08c2d94143ba14039fe95344b5e88000b7ebe784d124",
                "md5": "d9dfda7067a65d08dbee3447f2a47cc3",
                "sha256": "4d28baee90f99618b59b58e35ebc597153f6e67d1325ffb13094982178bc4d67"
            },
            "downloads": -1,
            "filename": "Aspose.Email_for_Python_via_NET-24.4-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "d9dfda7067a65d08dbee3447f2a47cc3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.5",
            "size": 52856761,
            "upload_time": "2024-04-04T20:15:47",
            "upload_time_iso_8601": "2024-04-04T20:15:47.567610Z",
            "url": "https://files.pythonhosted.org/packages/5d/d9/81517b3a7a0b0d5c08c2d94143ba14039fe95344b5e88000b7ebe784d124/Aspose.Email_for_Python_via_NET-24.4-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-04 20:14:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose.email-for-python-via-net"
}
        
Elapsed time: 0.21935s