[docs] [issue11883] Call connect() before sending an email with smtplib
R. David Murray
report at bugs.python.org
Sat Apr 30 23:31:30 CEST 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
The call to connect() is not required in the first example, since the hostname is passed to the constructor in that case. Since these examples are about the email package rather than smtplib, I preferred to change the other examples to pass localhost to the constructor as well, rather than call connect with no arguments after a no argument call to the constructor.
----------
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11883>
_______________________________________
More information about the docs
mailing list