瀏覽代碼

[hotfix] encode the email message to utf8 before sending mail (#3785)

* [hotfix] encode the email message to utf8 before sending mail

* [minor] review fixes
version-14
Makarand Bauskar 8 年之前
committed by GitHub
父節點
當前提交
22475a046c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      frappe/email/queue.py

+ 1
- 0
frappe/email/queue.py 查看文件

@@ -474,6 +474,7 @@ def prepare_message(email, recipient, recipients_list):

message = message.replace("<!--recipient-->", recipient)

message = (message and message.encode('utf8')) or ''
if not email.attachments:
return message



Loading…
取消
儲存