#9367: EmailMultiAlternatives does not properly handle attachments
------------------------------------+---------------------------------------
Reporter: loekje | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by loekje):
* has_patch: 0 => 1
Comment:
Patch has been attached. In the patch the EmailMultiAlternatives wraps the
multipart/alternative views in a multipart/mixed message that also
includes the attachments. The changes made to EmailMessage are merely for
reusing code in the derived EmailMutliAlternatives class. In the original
EmailMultiAlternatives all attachments (including the alternative views)
would be attached as multipart/alternative. As a result of this the
alternative views are correctly presented in the browser, however the
attachments are also considered to be an alternative view (instead of the
real attachment they are).
--
Ticket URL: <http://code.djangoproject.com/ticket/9367#comment:4>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---