[docs] [issue11883] Call connect() before sending an email with smtplib

Éric Araujo report at bugs.python.org
Thu Apr 28 02:12:48 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

I’d remove the “Connect to the SMTP server” comment before “s.connect()”.  It’s redundant, contrary to the other comment (which no doubt prompted you to add a comment too) “Send the message via local SMTP server” which helpfully introduces the next lines of code.

----------
nosy: +eric.araujo

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


More information about the docs mailing list