I am looking for some simple example code on generating SMTP e-mail
messages in Python. I have a script that sends system reports to me at
a central e-mail address, and it works fine using smtplib with plain
text messages. I would like to enhance this script to send HTML
formatted messages instead.
Simply sending a text message with HTML tags does not work. The e-mail
client displays the message as plain text with visible <tags>.