This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JustAnother1
Recipients JustAnother1
Date 2018-06-02.22:40:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527979236.47.0.592728768989.issue33741@psf.upfronthosting.co.za>
In-reply-to
Content
if the password contains non ascii characters then the login fails:
>>> smtObj.login(MAIL_USER, MAIL_PASSWORD) 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/smtplib.py", line 720, in login
    initial_response_ok=initial_response_ok)
  File "/usr/lib/python3.5/smtplib.py", line 637, in auth
    authobject(challenge).encode('ascii'), eol='')
  File "/usr/lib/python3.5/smtplib.py", line 650, in auth_cram_md5
    self.password.encode('ascii'), challenge, 'md5').hexdigest()
UnicodeEncodeError: 'ascii' codec can't encode character '<removed>' in position <removed>: ordinal not in range(128)
History
Date User Action Args
2018-06-02 22:40:36JustAnother1setrecipients: + JustAnother1
2018-06-02 22:40:36JustAnother1setmessageid: <1527979236.47.0.592728768989.issue33741@psf.upfronthosting.co.za>
2018-06-02 22:40:36JustAnother1linkissue33741 messages
2018-06-02 22:40:36JustAnother1create