Send HTML e-mail in Python?
Max
mksql at yahoo.com
Tue Nov 2 15:54:21 EST 2004
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>.
More information about the Python-list
mailing list