Re: smtp debugging methods

2007-09-14 Thread Tim Roberts
Sean Nakasone <[EMAIL PROTECTED]> wrote: > >I'm having trouble with sending smtp mail. It's hanging after the >smtplib.SMTP() line. It doesn't works from home but not from work. What's >the best way to debug this? It's quite possible that your network at work has a firewall blocking these port

Re: smtp debugging methods

2007-09-14 Thread Tim Williams
On 14/09/2007, Sean Nakasone <[EMAIL PROTECTED]> wrote: > I'm having trouble with sending smtp mail. It's hanging after the > smtplib.SMTP() line. It doesn't works from home but not from work. What's > the best way to debug this? > > # Here's my script > import smtplib > msg = "Subject: Hello\n\n

Re: smtp debugging methods

2007-09-14 Thread Jon Ribbens
On 2007-09-14, Sean Nakasone <[EMAIL PROTECTED]> wrote: > I'm having trouble with sending smtp mail. It's hanging after the > smtplib.SMTP() line. It doesn't works from home but not from work. What's > the best way to debug this? > > # Here's the error server = smtplib.SMTP("smtp.gmail.com

smtp debugging methods

2007-09-14 Thread Sean Nakasone
I'm having trouble with sending smtp mail. It's hanging after the smtplib.SMTP() line. It doesn't works from home but not from work. What's the best way to debug this? # Here's my script import smtplib msg = "Subject: Hello\n\nThis is the\nbody of the message." server = smtplib.SMTP("smtp.gmai