You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that the quit() method of SMTP instance (of smtplib) doesn't
return it's result (such as '221 2.0.0 Bye') .
Other methods such as helo(), ehlo(), verify() etc.. returns it's result
correctly so I suppose it's a kind of bug.
I've made a small patch for this so please take a look at it (It looks
like someone just forgot to return the value of docmd()).
Kei: The documentation does not say that quit() returns a value, so the
current behavior is correct. However, SMTP defines a return value for
QUIT, so there is a case for smtplib.quit() returning that value.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: