Skip to content

Commit 68e25a9

Browse files
authored
Merge pull request #1 from smoors/mail_html
fix MIME subtype for html mail
2 parents d3fd428 + f5d7cf7 commit 68e25a9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
python-version: ${{ matrix.python }}
1414
- name: install tox
15-
run: pip install tox
15+
run: pip install 'virtualenv<20.22.0' 'tox<4.5.0'
1616
- name: add mandatory git remote
1717
run: git remote add hpcugent https://github.com/hpcugent/vsc-base.git
1818
- name: Run tox

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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
from vsc.install.shared_setup import ag, kh, jt, sdw
3838

3939
PACKAGE = {
40-
'version': '3.5.3',
40+
'version': '3.5.4',
4141
'author': [sdw, jt, ag, kh],
4242
'maintainer': [sdw, jt, ag, kh],
4343
'install_requires': [

0 commit comments

Comments
 (0)