Browse Source

[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 years ago
committed by GitHub
parent
commit
22475a046c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/email/queue.py

+ 1
- 0
frappe/email/queue.py View File

@@ -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…
Cancel
Save