Future-proof your tech-skills with Linux, Python, vim & git as I share
with you the most timeless and love-worthy tools in tech and on staying
valuable while machines learn... and beyond.
From Sending Email in Jupyter to Sending Email in Linux Service
by Mike Levin
Tuesday, August 02, 2022
Ever need a running process to reach out and let you know how things are going?
Per Zawinski’s Law, the time has come the Walrus said to make our Python Linux
daemon service able to send emails using Python’s standard SMTP library and the
gmail email servers. So long as we send from a gmail account, we have reliable
and sufficiently permissive infrastructure to tap. Jumping into WebDev already?
Take a moment to learn Linux basics with me, especially the world-changing
Linux service management system called systemd.
Mention Jamie Zawinski & Zawinski’s law
Show how smtplib is built into the Python Standard Library
Show it working in JupyterLab (why JupyterLab?)
Show the files containing mail-from login credentials and mail-to list