Skip to content

Commit 64d1944

Browse files
committed
#963: Add TEXT and HTML in mail to fix bad mime-type.
2 parents 7aa6947 + 591e198 commit 64d1944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cron_tasks/mail_queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def tryToSendMail(mail_item):
6969
bcc=mail_item.bcc_mail_addresses,
7070
reply_to=mail_item.replyto_addresses,
7171
subject=mail_item.mail_subject,
72-
message=mail_item.mail_content,
73-
sender=sender
72+
message=(TAG(mail_item.mail_content).flatten(), mail_item.mail_content),
73+
sender=sender,
7474
)
7575
#isSent = True
7676
if isSent is False:

0 commit comments

Comments
 (0)