[issue8245] email examples don't actually work (SMTP.connect is not called)

Jason R. Coombs report at bugs.python.org
Sat Mar 27 19:38:23 CET 2010


Jason R. Coombs <jaraco at jaraco.com> added the comment:

According to issue4239#msg75355, the connect call is not required, but I believe he is mistaken. The connect call is required unless the s object is constructed with host/port parameters, in which case the call to connect (without any parameters) will result in various output depending on how localhost responds to the connection request.

In any case, the original recommendation still stands, that the .connect() call should be restored.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8245>
_______________________________________


More information about the Python-bugs-list mailing list