How do I send an email in Django with a certain mimetype?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-04-26T09:56:16Z Indexed on 2010/04/26 10:03 UTC
Read the original article Hit count: 165

Filed under:
|
|
|
|
MYMESSAGE = "<div>Hello</div><p></p>Hello"
send_mail("testing",MYMESSAGE,"[email protected]",['[email protected]'],fail_silently=False)

However, this message doesn't get the HTML mime type when it is sent. In my outlook, I see the code...

© Stack Overflow or respective owner

Related posts about django

Related posts about mime