[issue25553] SMTP.data(msg) function may cause the last CRLF of msg lost if msg is quoted-printable encoding.

Deli Zhang report at bugs.python.org
Fri Nov 6 07:06:37 EST 2015


Deli Zhang added the comment:

I can understand you, while could you please consider below fact:
Once our SMTP server module smtpd.py receives the sample mail, it will remove the end-of-data sequence, that makes the "=" become the last char of mail data. I think it's inconsistent to our SMTP client module smtplib.py.

If we can just add "<CRLF>.<CRLF>" following mail data like postfix, which is influential amd authoritative in SMTP field, that will make things simple and will not make any trouble in reality situation.

I just advise this, if you think no need then I can compromise.
Thanks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25553>
_______________________________________


More information about the Python-bugs-list mailing list