View Single Post
Old Dec 8th, 2005, 7:06 PM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,075
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
For the code: "smtplib.SMTP('localhost')", you need 'localhost' to be a mail server that you have working.

Mine for example, was a free account I setup at www.nerdshack.com, it worked very nicely. And I could recieve all the emails simply from Thunderbird/Outlook Explorer.

In that case, 'localhost' is replaced by: 'mail.nerdshack.com:2525'
Sane is offline   Reply With Quote