Temporary disabling email to subscribed users

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
cimalink
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Thu Sep 18, 2014 6:06 pm

Temporary disabling email to subscribed users

Post by cimalink » Thu Sep 18, 2014 6:12 pm

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,

jllort
Moderator
Moderator
Posts: 10868
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Temporary disabling email to subscribed users

Post by jllort » Fri Sep 19, 2014 5:46 pm

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.

cimalink
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Thu Sep 18, 2014 6:06 pm

Re: Temporary disabling email to subscribed users

Post by cimalink » Wed Sep 24, 2014 9:18 am

Thanks a lot, i'll give it a try

Post Reply