import smtplibserver = smtplib.SMTP('localhost')server.sendmail('name@website.org', 'anothername@web.org',"""To: name@website.orgFrom: anothername@web.orgBeware the Ides of March.""")server.quit()