2010-04-26 4 views

답변

6

를 참조하십시오

msg = EmailMessage(subject, html_content, from_email, [to]) 
msg.content_subtype = "html" # Main content is now text/html 
msg.send() 

만 보인다 MIME 형식의 하위 유형을 변경할 수 있습니다. 항상 그렇습니다.

"text/%s" % msg.content_subtype

관련 문제