• Notification email to a specific email address

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #47489  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.
 #47491  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.
 #47505  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.
 #47524  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.