#26802: Sending mails with attachment results in 'bytes' object has no attribute
'encode'
-----------------------------+------------------------------------
     Reporter:  Brandl       |                    Owner:  nobody
         Type:  Bug          |                   Status:  new
    Component:  Core (Mail)  |                  Version:  1.9
     Severity:  Normal       |               Resolution:
     Keywords:               |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+------------------------------------
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 Unfortunately, I'm just realizing that the fix proposed to Python in
 http://bugs.python.org/issue16324 only partially fixes the issue, as the
 Charset instance isn't pass to the `set_payload()` as is. We'll have to
 keep the workaround for some more years :-(.
 [https://github.com/django/django/pull/6860 Patch] updated.

--
Ticket URL: <https://code.djangoproject.com/ticket/26802#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.8a66cc30d2c16bdde445c701c5011510%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to