Commit 687140b2 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

forge py3

parent 3ca87a8b
...@@ -69,7 +69,7 @@ for to_url in to_url_list: ...@@ -69,7 +69,7 @@ for to_url in to_url_list:
multipart.add_file(data=attachment_dict['content'], multipart.add_file(data=attachment_dict['content'],
content_type=attachment_dict['mime_type'], content_type=attachment_dict['mime_type'],
filename=attachment_dict['name']) filename=attachment_dict['name'])
mail_message = str(multipart) mail_message = bytes(multipart)
# Bug Message not send email it self. # Bug Message not send email it self.
#context.activate(activity='SQLQueue').sendMailHostMessage(mail_message) #context.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment