Loading django/core/mail/message.py +2 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,8 @@ class MIMEMixin(): """ fp = six.StringIO() g = generator.Generator(fp, mangle_from_=False) if sys.version_info < (2, 6, 6) and isinstance(self._payload, six.text_type): self._payload = self._payload.encode(self._charset.output_charset) g.flatten(self, unixfrom=unixfrom) return fp.getvalue() Loading docs/releases/1.6.6.txt +3 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,6 @@ Bugfixes * Fixed the "ORA-01843: not a valid month" errors when using Unicode with older versions of Oracle server (`#20292 <https://code.djangoproject.com/ticket/20292>`_). * Restored bug fix for sending unicode email with Python 2.6.5 and below (`#19107 <https://code.djangoproject.com/ticket/19107>`_). Loading
django/core/mail/message.py +2 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,8 @@ class MIMEMixin(): """ fp = six.StringIO() g = generator.Generator(fp, mangle_from_=False) if sys.version_info < (2, 6, 6) and isinstance(self._payload, six.text_type): self._payload = self._payload.encode(self._charset.output_charset) g.flatten(self, unixfrom=unixfrom) return fp.getvalue() Loading
docs/releases/1.6.6.txt +3 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,6 @@ Bugfixes * Fixed the "ORA-01843: not a valid month" errors when using Unicode with older versions of Oracle server (`#20292 <https://code.djangoproject.com/ticket/20292>`_). * Restored bug fix for sending unicode email with Python 2.6.5 and below (`#19107 <https://code.djangoproject.com/ticket/19107>`_).