Commit 56dda0ff authored by Yusei Tahara's avatar Yusei Tahara

Use SQLQueue.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21008 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8e001351
......@@ -507,7 +507,7 @@ class EmailDocument(File, TextDocument):
attachment_list=attachment_list,
additional_headers=additional_headers)
mail_message = mime_message.as_string()
self.activate().sendMailHostMessage(mail_message)
self.activate(activity='SQLQueue').sendMailHostMessage(mail_message)
# Save one of mail messages.
self.setData(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