Page 1 of 1

[solved] Notify to users

PostPosted:Wed Jun 17, 2015 10:26 am
by welcomeweb
Good day,
Is possible to send notify to multiple users in CCN not TO users? I don't want to see all the addresses in clear
Is possible enter a fixed email in the TO field (Es. administrator)?

Best regards

Re: Notify to users

PostPosted:Thu Jun 18, 2015 2:20 pm
by jllort
About what openkm version are you talking ? and from where are you doing it, source code, webservices ?

Re: Notify to users

PostPosted:Thu Jun 18, 2015 2:35 pm
by welcomeweb
My Open KM Version is 6.3.0
Windows Server 2008 R2 64 bit

Re: Notify to users

PostPosted:Sat Jun 20, 2015 8:16 am
by jllort
OK, You're trying to do from webservices, some scripting, can you explain the steps with more details ?

Re: Notify to users

PostPosted:Mon Jun 22, 2015 6:58 am
by welcomeweb
I'm connected as admin from browser.
When i loaded a document, i marked the option "notify to users" and choosen some users.
The mail who i sent, show all recipients in "to" field.

Image

Re: Notify to users

PostPosted:Mon Jun 22, 2015 7:02 am
by welcomeweb
I want to know if is possible put the recipients in "CCN" and not in "TO" field

Re: Notify to users

PostPosted:Tue Jun 23, 2015 9:00 am
by welcomeweb
Good day,
any news for me?

Re: Notify to users

PostPosted:Thu Jun 25, 2015 5:03 pm
by jllort
Now I understood. The idea here is sombody ( from ) is sending mail ( to ) some user. For doing what you want should be modified the source code in serveral places. If you want doing it I can guide about what classes should be changed.

Re: Notify to users

PostPosted:Thu Jun 25, 2015 5:10 pm
by welcomeweb
Ok thanks, your help is very appreciated!
I'll wait your guide to making the changes, looking forward to hear from you.

Re: Notify to users

PostPosted:Fri Jun 26, 2015 2:37 pm
by jllort
First, should see it from UI, for it need to do some changes at the FancyFileUpload.java class and FileUploadForm.java ( this sure will be the more complex task ).When you get it, then should modify FileUploadServlet.java considering the new vars created at UI files. In serveral places you'll see
Code: Select all
OKMNotification.getInstance().notify(null, notifyPath, userNames, mailList, message, false);
Probably you will need to create a new notify method ( but it will be the easiest ) of all.

Here you have the OpenKM portable dev environment https://sourceforge.net/projects/openkmportabledev/

Re: Notify to users

PostPosted:Wed Jul 08, 2015 12:43 pm
by welcomeweb
Good day,
is possible for you to make this change for us?
How much would work if I gave you access to the server?

Best regards

Re: Notify to users

PostPosted:Fri Jul 10, 2015 2:26 pm
by jllort
Sorry but support for community users, start and ends in this forum. We can try to guide to you etc... but there are some rules can not be break down. On the other side the customer receive obviously an extra service, more direct support, some customization when are needed etc... can not be expected the same in the community version.

[solved] Re: Notify to users

PostPosted:Thu Aug 13, 2015 6:48 am
by welcomeweb
Good day,
i solved by a mailinglist.
I created a user with a mailinglist address.
The mailing list is populated by an automated php script.

It's not fancy but is functional

Re: [solved] Notify to users

PostPosted:Thu Aug 13, 2015 10:32 am
by jllort
I think I understood your solution, is phantom user used as mail alias account. You can try to disable this users or also assign a profile will all data disabled.