Read Outlook Emails in Python

In certain cases, you have to parse the Outlook emails and extract the information from the messages programmatically. This information includes the sender’s address, the receivers’ addresses, the body, the email’s headers, and so on. In this article, you will learn how to parse and read Outlook email messages in Python. We will also demonstrate how to fetch the headers of an email message programmatically.
October 19, 2022 · 3 min · Usman Aziz

Create MS Outlook Tasks in Python

MS Outlook allows you to create to-do lists that are comprised of different tasks. Each task is an activity that is to be performed within a particular period of time. Thus, you can keep track of the tasks assigned to you. While automating MS Outlook operations, you may need to work with Outlook tasks. Accordingly, in this article, you will learn how to create MS Outlook tasks programmatically in Python.
April 28, 2022 · 3 min · Usman Aziz

Connect to IMAP Servers in Python

Internet Message Access Protocol (IMAP) is one of the most commonly used protocols for reading messages from an email server. In order to access the mailbox from your client applications, you would first need to establish a connection with the IMAP server. To achieve this, this article covers how to connect to an IMAP server using Python. Furthermore, you will learn how to fetch messages from an IMAP server programmatically.
March 26, 2022 · 2 min · Usman Aziz

Fetch Emails from POP3 Server in Python

Post Office Protocol (POP3) is a popular email protocol that is used to fetch emails from the mail servers. To work with the email messages in the mailbox, you first need to establish a connection to the POP3 server. To achieve that, this article covers how to connect to a POP3 server from within a Python application. Furthermore, you will learn how to fetch email messages from a POP3 server in Python.
March 1, 2022 · 3 min · Usman Aziz

Connect to SMTP Server using Python

Simple Mail Transfer Protocol (SMTP) is the most commonly used email protocol that deals with sending email messages from client applications to the email server. In various cases, the email clients are implemented within Python applications to send emails via SMTP. For such scenarios, this article covers how to connect to an SMTP server using Python. Furthermore, it demonstrates how to send an email via SMTP.
December 16, 2021 · 2 min · Usman Aziz

Python Code Examples to Create and Convert MSG, EML, EMLX, and MHT Emails

Aspose.Email for Java includes classes that allow you to create as well as read message files, enabling complete processing of message contents. Now, you can use these classes to create, edit and convert email message formats such as MSG, EML, EMLX, and MHT in Python without the need of using Microsoft Outlook. You can not only modify the message contents but also manipulate (add/remove) message attachments in Python. It provides you with sufficient ability to customize message headers in Python and also empowers you to completely control a message by exposing its Mapi properties.
May 22, 2016 · 2 min · Fahad Adeel