Django HTML E-mail template doesn't load css in the e-mail

后端 未结 3 1194
情深已故
情深已故 2021-02-13 15:42

I am sending HTML E-mail from Django like this:

template_html = \"email/deposit_email.html\"
                email_context = Context({ \'contact\': contact, \'am         


        
3条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 16:41

    The one way is to use inline css in the code,

     
    Title, 
     
    Message part
     
    Thanks,

    It works for me..

提交回复
热议问题