Commit e8a766a7 authored by Romain Courteaud's avatar Romain Courteaud

Do not queue email sending, because CMFActivity can not handle attachments.

Queuing email has to be done by a local MTA.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14575 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10ebc392
......@@ -117,7 +117,9 @@ class NotificationTool(BaseTool):
for person in to_list:
email_value = person.getDefaultEmailValue()
if email_value is not None:
email_value.activate(activity='SQLQueue').send(
# Activity can not handle attachment
# Queuing messages has to be managed by the MTA
email_value.send(
from_url=email_from_address,
to_url=email_value.asText(),
subject=subject,
......
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