SMTP help please

Martin Franklin mfranklin1 at
Tue Jun 7 04:25:04 EDT 2005

Ivan Shevanski wrote:
> I really can't figure out anything about the SMTP module. . .I think I'm 
> in over my head( Im pretty new to python).  Can someone show me a 
> really(and I mean REALLY) basic tutorial for smtp or explain it?
> program:
> I want to make my program have a feedback form attached to it at the end 
> which sends me the form when they're done.  I don't especially want them 
> to have to input all the needed details though. . .Just thought I'd put 
> this in so you'd know what its for.
> -Ivan
> _________________________________________________________________
> Don’t just search. Find. Check out the new MSN Search! 


import smtplib

server = smtplib.SMTP("")


fromaddr = "myemail at"

toaddrs = ["first at", "second at"]

msg = """Subject: Hi I'm great

Thats right I really am

server.sendmail(fromaddr, toaddrs, msg)


More information about the Python-list mailing list