How can I send the HTML content in an email using Python? I can send simple text.
You might try using my mailer module.
from mailer import Mailer
from mailer import Message
message = Message(From="me@example.com",
To="you@example.com")
message.Subject = "An HTML Email"
message.Html = """Hi!
How are you?
Here is the link you wanted.
"""
sender = Mailer('smtp.example.com')
sender.send(message)