summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/website/views.py b/website/views.py
index 9b95e4e..f14b3f8 100644
--- a/website/views.py
+++ b/website/views.py
@@ -341,5 +341,6 @@ def test(request):
<a href="http://google.com" target="_blank">http://google.com</a> <br>
"""
email = EmailMessage(subject, message, 'forums', ['rush2jrp@gmail.com'], headers={"Content-type":"text/html;charset=iso-8859-1"})
+ email.attach_alternative(message, "text/html")
email.send()
return HttpResponse("done")