Skip to content

Commit 11295d4

Browse files
committed
fix html mail
1 parent d3fd428 commit 11295d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vsc/utils/mail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def sendHTMLMail(
321321

322322
# Record the MIME types of both parts - text/plain and text/html_message.
323323
msg_plain = MIMEText(text_alternative, 'plain', 'utf-8')
324-
msg_html = MIMEText(html_message, 'html_message', 'utf-8')
324+
msg_html = MIMEText(html_message, 'html', 'utf-8')
325325

326326
# Attach parts into message container.
327327
# According to RFC 2046, the last part of a multipart message, in this case

0 commit comments

Comments
 (0)