Hi Tibor,
[...]
> 2008-01-30 Tibor Simko <[email protected]>
>
> * modules/miscutil/sql/tabfill.sql,
> modules/miscutil/sql/tabfill.sql.wml: Removed WML dependency from
> tabfill.sql. The current WML-less version no longer sets up
> CDSNAME and ADMINEMAIL anymore. These are set by the new
> inveniocfg tool.
Probably this is not the best way to report it, but I feel that there is
something not clear enough (at least for me) between the ADMINEMAIL (the
installer, that is, me, hidden back in the computer building) and the
SUPPORTEMAIL (the librarian, administrator, who reply requests and
mail). I've a couple of hand-made modifications so the they receive
some messages (for example user reviews) that are sent to ADMINEMAIL and
not SUPPORTEMAIL. I send one as example.
I feel that most user-related messages should go to SUPPORTEMAIL.
Thanks,
Ferran
---
lib/python/invenio/websubmit_config.py | 2 +-
lib/python/invenio/websubmit_functions/Mail_Submitter.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Index: invenio/lib/python/invenio/websubmit_config.py
===================================================================
--- invenio.orig/lib/python/invenio/websubmit_config.py 2007-05-25 12:01:35.654286685 +0200
+++ invenio/lib/python/invenio/websubmit_config.py 2007-05-25 12:03:34.920232479 +0200
@@ -25,7 +25,7 @@
test = "FALSE"
## CC all action confirmation mails to administrator? (0 == NO; 1 == YES)
-CFG_WEBSUBMIT_COPY_MAILS_TO_ADMIN = 0
+CFG_WEBSUBMIT_COPY_MAILS_TO_ADMIN = 1
## known compressed file extensions:
CFG_COMPRESSED_FILE_EXTENSIONS = ["z", "gz", "tar", "tgz", "tar",
Index: invenio/lib/python/invenio/websubmit_functions/Mail_Submitter.py
===================================================================
--- invenio.orig/lib/python/invenio/websubmit_functions/Mail_Submitter.py 2007-05-25 12:01:35.638288839 +0200
+++ invenio/lib/python/invenio/websubmit_functions/Mail_Submitter.py 2007-05-25 12:03:34.926231672 +0200
@@ -103,9 +103,9 @@
if CFG_WEBSUBMIT_COPY_MAILS_TO_ADMIN:
# Copy mail to admins:
if len(tostring) > 0:
- tostring += ",%s" % (adminemail,)
+ tostring += ",%s" % (supportemail,)
else:
- tostring = adminemail
+ tostring = supportemail
body = forge_email(FROMADDR,m_recipient,"","%s: Document Received" % fullrn,email_txt)
tolist = tostring.split(",")
if len(tolist[0]) > 0: