Flag plain-text part of the email as being plain-text

This commit is contained in:
James Polley 2018-01-15 07:58:45 +11:00
parent 55ed2dc319
commit 018f7bef7a

View file

@ -236,7 +236,7 @@ def boarding_send(request):
bpass.from_address,
[bpass.to_address,],
)
msg.content_subtype="html"
msg.content_subtype="plain"
msg.mixed_subtype="related"
if bpass.html_body:
msg.attach_alternative(bpass.html_body, "text/html")