import sys, smtplibserver = "server.com"fromaddr = "from@from.com"toaddrs = "to@to.com"message = """To: %sFrom: %sSubject: Test MessageHello,This is a test message.""" % (', '.join(toaddrs), fromaddr)s = smtplib.SMTP(server)s.sendmail(fromaddr, toaddrs, message)print "sent"
Name (required)
email (will not be published) (required)
Website