Changes between Initial Version and Version 1 of Ticket #22561, comment 15


Ignore:
Timestamp:
Jan 6, 2017, 12:09:51 AM (8 years ago)
Author:
Pavel Pokrovskiy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22561, comment 15

    initial v1  
    55https://gist.github.com/ppokrovsky/d06d0d9e3c8f55bf15984ecd22954683
    66
    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.
     7with 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.
Back to Top