Sending emails to end users with information timely basis is simple with python. This article will demonstrate with an example using gmail smtp service. Example will have data pulled from Mysql database and send to list of users in html format with css styles using python. Libraries used in this example are sqlalchemy, smptlib, ssl, MIMEText, MIMEMultipart and jinja.

I created a video on my youtube channel Python&tools, watch it and learn, feel free to comment on video for doubts.

Login

Welcome to Typer

Brief and amiable onboarding is the first thing a new user sees in the theme.
Join Typer
Registration is closed.