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
It is not possible to send an email with smtplib with an empty return
address.
if you leave the sender mail address empty, smtplib will use "<None>" as
sender, instead of "<>", as it should do. Note that an empty return
address is typically used for mail delivery warnings (it has a valid usage!)
This bug is still in current SVN (I just checked http://svn.python.org/
projects/python/trunk/Lib/smtplib.py). Below is a fix for smtplib.py that
came with Python 2.3 (since I still use that version). The bug is in the
function "quoteaddr(addr):"
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: