Changes between Initial Version and Version 1 of Ticket #22561, comment 15
- Timestamp:
- Jan 6, 2017, 12:09:51 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22561, comment 15
initial v1 5 5 https://gist.github.com/ppokrovsky/d06d0d9e3c8f55bf15984ecd22954683 6 6 7 with body set to {{{ test_body_lat }}}, the {{{has_long_lines}}} flag in {{{ django.core.mail.message.SafeMIMEText() }}} is set to {{{ True }}} and therefore correctly applies 'quoted-printable' encoding, while when body is set to {{{ test_body_ru }} , it leaves {{{has_long_lines}}} as {{{ False }}} therefore leaving default charset, which results in broken email body.7 with body set to {{{ test_body_lat }}}, the {{{has_long_lines}}} flag in {{{ django.core.mail.message.SafeMIMEText() }}} is set to {{{ True }}} and therefore correctly applies 'quoted-printable' encoding, while when body is set to {{{ test_body_ru }}}, it leaves {{{has_long_lines}}} as {{{ False }}} therefore leaving default charset, which results in broken email body.