Page 1 of 1

Temporary disabling email to subscribed users

PostPosted:Thu Sep 18, 2014 6:12 pm
by cimalink
Hello,

i would like to know how to temporary disabling email sent to subscribed users.

We need to upload a lot of documents that are very old but needs to be in the system, and we don't want our users to get message for each uploaded documents.
How can i disable the notification system for the time we do this operation and then re-enable the notifications?

Thanks,

Re: Temporary disabling email to subscribed users

PostPosted:Fri Sep 19, 2014 5:46 pm
by jllort
The easies way is disable all notification system. Simply in server.xml comment the tag
Code: Select all
<Resource name="mail/OpenKM" type="javax.mail.Session" etc... 
and replace for something like
Code: Select all
<Resource auth="Container" mail.from="testing@openkm.com" mail.smtp.host="localhost" name="mail/OpenKM" type="javax.mail.Session"/>
This change need restarting openkm.

Re: Temporary disabling email to subscribed users

PostPosted:Wed Sep 24, 2014 9:18 am
by cimalink
Thanks a lot, i'll give it a try