Don Dwiggins added the comment:
Varun, thanks for the patch; sounds like the right way to go, in that it should
work whether the usage is single-connection or multiple-connection. Ideally,
the documentation would be expanded a bit to clarify just which attributes get
reset on close
Don Dwiggins added the comment:
I have no pressing need for it. I'm happy enough with Martin's idea of
single-use instances, as long as they're clearly documented as such, and don't
"pretend" to work for a subsequent connect. I'd also be happy with instanc
New submission from Don Dwiggins <[EMAIL PROTECTED]>:
Found on Windows, running Python 2.4.3.
SMTP.login() and SMTP.sendmail set one of the attributes ehlo_resp or
helo_resp to whatever the server responded (only if they're not already
set).
SMTP.quit() doesn't clear these a