diff --git a/product/ERP5/Tool/NotificationTool.py b/product/ERP5/Tool/NotificationTool.py index 48ceccf2321345eb8a62eb4c40c9cc1a8bfd86cd..402727c90dfd9a9c7cf82946435f76b0e5dcbd7d 100644 --- a/product/ERP5/Tool/NotificationTool.py +++ b/product/ERP5/Tool/NotificationTool.py @@ -220,7 +220,7 @@ class NotificationTool(BaseTool): # high-level interface security.declareProtected(Permissions.UseMailhostServices, 'sendMessage') - def sendMessage(self, sender=None, recipient=None, subject=None, + def sendMessage(self, sender=None, recipient=None, subject=None, message=None, attachment_document_list=None, notifier_list=None, priority_level=None, store_as_event=False, @@ -265,11 +265,6 @@ class NotificationTool(BaseTool): portal = self.getPortalObject() catalog_tool = getToolByName(self, 'portal_catalog') - # Find Default Values - default_from_email = portal.email_from_address - default_to_email = getattr(portal, 'email_to_address', - default_from_email) - # Find "From" Person from_person = None if isinstance(sender, basestring):