Commit 2fba5615 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2006-10-13 yo

* to_address defaults to from_address instead of my address in the notification script.
* fix bad english

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5eb0b580
...@@ -112,7 +112,7 @@ if not_assigned_bug_list:\n ...@@ -112,7 +112,7 @@ if not_assigned_bug_list:\n
\n \n
mail_text = """From: "%s" <%s>\n mail_text = """From: "%s" <%s>\n
To: %s\n To: %s\n
Subject: %s: %s Opened bugs\n Subject: %s: %s Open Bugs\n
MIME-Version: 1.0\n MIME-Version: 1.0\n
Content-Type: text/plain;\n Content-Type: text/plain;\n
charset="utf-8"\n charset="utf-8"\n
......
...@@ -74,7 +74,7 @@ bug = state_change[\'object\']\n ...@@ -74,7 +74,7 @@ bug = state_change[\'object\']\n
portal = bug.getPortalObject()\n portal = bug.getPortalObject()\n
from_name = portal.getProperty(\'email_from_name\', \'ERP5\')\n from_name = portal.getProperty(\'email_from_name\', \'ERP5\')\n
from_address = portal.getProperty(\'email_from_address\', \'postmaster@localhost\')\n from_address = portal.getProperty(\'email_from_address\', \'postmaster@localhost\')\n
to_address = portal.getProperty(\'email_to_address\', \'yo@nexedi.com\')\n to_address = portal.getProperty(\'email_to_address\', from_address)\n
\n \n
if not to_address:\n if not to_address:\n
return\n return\n
......
2006-10-13 yo
* to_address defaults to from_address instead of my address in the notification script.
* fix bad english
2006-09-15 jerome 2006-09-15 jerome
* Add an alarm to send a summary of all open bugs. * Add an alarm to send a summary of all open bugs.
......
94 100
\ No newline at end of file \ No newline at end of file
None
\ 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