Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix MIME subtype for html mail #341

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
dummy change to trigger unittests
  • Loading branch information
smoors committed Aug 9, 2023
commit 511df50ee8922df032d427771310099af7560e24
2 changes: 1 addition & 1 deletion lib/vsc/utils/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def sendHTMLMail(

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

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