Notification email to a specific email address
PostPosted:Fri Feb 15, 2019 4:18 am
by zaku903
Hi all,
I'm new to OpenKM and configuring a POC platform for users to upload documents. Is there any built-in function to send a notification email to a specific email address (e.g.
admin@abc.com) after every file upload for further processing? Do I need to create my own automation action for it?
We are using OpenKM 6.3.6 under CentOS 7
Many thanks.
Re: Notification email to a specific email address
PostPosted:Fri Feb 15, 2019 4:36 pm
by lnovoa
Hi!,
Yes, you should create automation for example with the event "document creation" and whose rule is to send an email.
There you can insert users, text, etc.
Re: Notification email to a specific email address
PostPosted:Sat Feb 16, 2019 9:56 am
by jllort
I have reviewed existing actions in the community and seems SendMail action is not currently present by default in the available built-in action ( there's present into professional edition ). However you have two options, build your own ( it is quite easy and we can guide you on it ) based on a class or based in scripting.
Here you can find the code of the current actions
https://github.com/openkm/document-mana ... ion/action
You can take AddKeyword as the basis for doing it in the combination of the method sendMail
https://docs.openkm.com/kcenter/view/ok ... endMessage
I suggest downloading our OpenKM personal development environment what comes as a Virtual machine. You can download from
https://www.openkm.com/en/download.html , we have included a video that describes how installing it.
Re: Notification email to a specific email address
PostPosted:Wed Feb 20, 2019 7:47 am
by zaku903
Thanks all, I think we will try to build our own action as our users just wish to receive notification for all uploads without additional action.
Is there any action scripting sample for sending email?
Thanks a lot.