En Sun, 03 May 2009 12:18:33 -0300, tiefeng wu <iceberg...@gmail.com> escribió:

I'm tring send email using smtp.gmail.com

here's the code:

*s = SMTP('**smtp.gmail.com* <http://smtp.gmail.com/>*', 25)
s.set_debuglevel(1)*
*s.ehlo()
s.starttls()
s.ehlo()
s.login(mygmailaccount, mygmailpassword)
s.sendmail(from_addr, to_addr_list, message)
s.close()*

I've tested with 3.0.1 on Windows XP and worked fine. Seems to be a problem in the SSL support, but that's all I could say.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to