I has encountered this behaviour with django-post-office now. And I find 
one workaround: use both arguments *message* and *html_message* in 
*mail.send()* method. For example:

msg = render_to_string('path/to/template/', {'some_data': 'some_data'})
pdf = render_to_pdf(form.pdf_template, email_data)
attachments = {'Message.pdf': ContentFile(pdf)}
mail.send(user_email, me, subject=subject, message=msg, html_message=msg, 
attachments=attachments, headers=headers)



It works for me.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20707145-77c8-4e1a-8d3d-aff70575afa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to