Hi, I tried to use the EmailMultiAlternatives to send an email in html and a text. I also want to include a file to this email.
But the later seems to erase my html content. Here is my code : msg = EmailMultiAlternatives(subject, html2text(html_content), list(email_from), list(email_to), attachments=((request.session['customer']+".txt.blowfish", request.session["customer"].content),)) msg.attach_alternative(html_content, "text/html") msg.send() I use the latest svn revision I also tried using msg.attact() instead of attachments, same result! The alternative text content is sent, but the html one is not. It only show the file. Any clue would be much appreciated, Francis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---