#!/usr/bin/env python from mailer import Mailer from mailer import Message message = Message(From="foobar@example.com", To="foobaz@example.com") message.Subject = "Eine HTML Mail" message.Html = """ <p>Hi!<br> Blah blub<br> </p>""" sender = Mailer('smtp.example.com') sender.send(message)