Commit 0518bea1 authored by Nicolas Delaby's avatar Nicolas Delaby

Use BugLine_getRecipientValueList to get recipient_list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23449 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da8737e8
......@@ -95,9 +95,10 @@ if reply_url:\n
additional_headers = {\'Return-Path\':reply_url}\n
\n
# To (multiple)\n
recipient_list = context.BugLine_getRecipientValueList()\n
to_url_list = []\n
if to_url is None:\n
for recipient in context.getDestinationValueList():\n
for recipient in recipient_list:\n
email = recipient.getDefaultEmailText()\n
if email:\n
if recipient.getTitle():\n
......@@ -163,6 +164,12 @@ if download:\n
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>from_url=None, to_url=None, reply_url=None, subject=None, body=None, attachment_format=None, attachment_list=None, download=None, **kw</string> </value>
......@@ -206,6 +213,7 @@ if download:\n
<string>sender</string>
<string>user</string>
<string>additional_headers</string>
<string>recipient_list</string>
<string>to_url_list</string>
<string>_getiter_</string>
<string>recipient</string>
......
365
\ No newline at end of file
367
\ No newline at end of file
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