From ea33324fa77d9d68c4fb07fa920ecaee1bcb1021 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 13 Jan 2006 13:34:17 +0000 Subject: [PATCH] Try email_to_address to get the default email address. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5106 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/ActivityTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index e0c036d990..06a914f660 100755 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -162,7 +162,7 @@ class Message: #LOG('notifyUser begin', 0, str(self.user_name)) user_email = activity_tool.portal_membership.getMemberById(self.user_name).getProperty('email') if user_email in ('', None): - user_email = activity_tool.email_from_address + user_email = getattr(activity_tool, 'email_to_address', activity_tool.email_from_address) #LOG('notifyUser user_email', 0, str(user_email)) mail_text = """From: %s To: %s -- 2.30.9