Re: problems with smtplib

2005-09-02 Thread Jon Hewer
just got home and i've tried my script on windows with my isp's smtp server, and found that my code wasn't getting past the s.connect() changed me code to: s = smtplib.SMTP('smtp.lineone.net') s.sendmail(me, to, msg.as_string()) s.quit() and now it works fine On 9/2/05, Steve Holden

Re: problems with smtplib

2005-09-02 Thread Steve Holden
Peter Hansen wrote: > Steve Holden wrote: > >>n00m wrote: >> >> >>>I also can't get my SMTP (win2k) working with Python. >>>But... funnily this works fine: >>> >>>import smtplib >>>s = smtplib.SMTP('smtp.mail.ru') >>>s.sendmail('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'hi >>>there!') >>>s.quit()

Re: problems with smtplib

2005-09-02 Thread Peter Hansen
Steve Holden wrote: > n00m wrote: > >> I also can't get my SMTP (win2k) working with Python. >> But... funnily this works fine: >> >> import smtplib >> s = smtplib.SMTP('smtp.mail.ru') >> s.sendmail('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'hi >> there!') >> s.quit() >> > That's pretty strange: t

Re: problems with smtplib

2005-09-02 Thread Jon Hewer
I'm running Fedora Core 3, and I assume thats useing sendmail... On 2 Sep 2005 04:25:41 -0700, Harlin Seritt <[EMAIL PROTECTED]> wrote: > What are you getting in your smtpd logs? Are you using postfix? > sendmail? or are you running this against a Windows stmp service? > > Harlin Seritt > Interne

Re: problems with smtplib

2005-09-02 Thread n00m
Steve Holden wrote: > That's pretty strange: the second argument should be a list. Are you > *sure* it worked? Hmm... I sent a couple of letters to my two different addresses... and got them! -- http://mail.python.org/mailman/listinfo/python-list

Re: problems with smtplib

2005-09-02 Thread Steve Holden
n00m wrote: > I also can't get my SMTP (win2k) working with Python. > But... funnily this works fine: > > import smtplib > s = smtplib.SMTP('smtp.mail.ru') > s.sendmail('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'hi > there!') > s.quit() > That's pretty strange: the second argument should be a lis

Re: problems with smtplib

2005-09-02 Thread n00m
I also can't get my SMTP (win2k) working with Python. But... funnily this works fine: import smtplib s = smtplib.SMTP('smtp.mail.ru') s.sendmail('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'hi there!') s.quit() Why do they (mail.ru) allow outsiders to use their service??? -- http://mail.python.or

Re: problems with smtplib

2005-09-02 Thread Harlin Seritt
What are you getting in your smtpd logs? Are you using postfix? sendmail? or are you running this against a Windows stmp service? Harlin Seritt Internet Villa: www.seritt.org -- http://mail.python.org/mailman/listinfo/python-list