[issue43949] binascii.Error raised in smtplib when initial_response_ok=False
Pandu E POLUAN
report at bugs.python.org
Thu May 6 02:29:00 EDT 2021
Pandu E POLUAN <pepoluan at gmail.com> added the comment:
> I am using Magic Winmail Server2.4(build 0530) as a SMTP server, which appears dont support initial_response, so I set initial_response_ok=False and got this Error. currently I catch this error and ignore it to evade program failed, it works fine. Is there better way to fix this problem?
I suggest either of:
(1) Contacting the makers of the software, to force Base64-encoding for "334 " replies, or
(2) If the text following "334 " is customizable, Base64-encode them yourself, then use the base64-encoded text as the customized "334 " response.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43949>
_______________________________________
More information about the Python-bugs-list
mailing list