Using Python to Send Outlook Emails
Step by step tutorial to send notification email using Python
Goal
Apart from Microsoft Excel and PowerPoint, another commonly used office tool would be Outlook. I think everyone who has working experience would be familiar with the Outlook software. It is used to receive and send emails for communication.
In my past working experience, one of the pain points for my colleagues would be sending regular notification emails to clients or other working parties. They have to markdown in schedule or set alarm to remind themselves or etc.
And today, I am going to share with you guys how we can use Python to automate all these tedious and boring pieces of stuff. After reading this article, you would be able to
- automatically send the notification email.
- add the attachment to the email.
- place the image directly in the email body.
- design whatever format you wish such as font size, font colour, etc.
Background
Just like many people, I have to send the notification email regularly. In this tutorial, we use the currencies exchange prices as an example. Imagine I have to send the email every one hour to capture the…