smtp debugging methods

Jon Ribbens jon+usenet at
Fri Sep 14 12:32:24 CEST 2007

On 2007-09-14, Sean Nakasone <seannakasone at> 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("",465) port 465 is SSL only. Try port 587 instead.

More information about the Python-list mailing list