I’m using the django helper method send_mail, which might be the problem, but I cannot tell from the docs if that is the case.
So – here is my method:
send_mail('Alert!', theEmail.format(user.username),'admin@site.com',
[user.email], fail_silently=False)
And theEmail looks like this:
theEmail = “””
Hi {0}!
Here is an alert email
And here is a link: a link in time
But when i run this code, the email sends fine – but in gmail, the message is printed with all the tags visible.
Is there some sort of “send as html” thing i’m meant to do ?
try something like: