smtplib (111, 'Connection refused')

Josh Close narshe at gmail.com
Fri Sep 17 22:00:57 CEST 2004


Does smtplib even use a smtp server? I looked at the source and it
looks like it just connects via a socket and sends like that.

-Josh


On Fri, 17 Sep 2004 21:52:23 +0200, Martin v. Löwis <martin at v.loewis.de> wrote:
> Josh Close wrote:
> > I'm using the smtplib module and I keep getting this error: (111,
> > 'Connection refused') What could be causing this?
> 
> This means there is no SMTP server running on the remote system.
> However, there *is* a TCP implementation (typically the operating
> system) on the other end that tells you port 25 is not being
> listened to.
> 
> Regards,
> Martin
> 
> 
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list