cancel
Showing results for 
Search instead for 
Did you mean: 

Mail user with changed documents 1x day/week/...

simon
Champ in-the-making
Champ in-the-making
Hi,

It's possible in Alfresco to send a mail as soon as a document is added or updated. Now, I'm looking for an extension that can do exactly that but not when the action happens but at a given interval (e.g. once ad day, a week, a month). We have configured something like this for a given space but I would like it as a rule so that users can add this for themselves.

Is there an extension out there (in Forge maybe) that can do this?

Thanks!
4 REPLIES 4

ditmgl
Champ in-the-making
Champ in-the-making
We made something similar using behaviours and scheulded actions (search on Alfresco´s wiki). Here are some tips:

1.- Use a behaviour (onUpdateProperties) to write the date when an email has to be send on a tablein a database.

2.- Use a scheuled action to read thedatabase (once or twice per day), if the date for today its the same as the date to send the email, then send the email and erase the entry on the database.

It´s just an idea, but It works fine.

simon
Champ in-the-making
Champ in-the-making
Thanks ditmgl. I was hoping someone wrote an AMP file that could add this feature to Alfresco. Do you have any plans to release it?

ditmgl
Champ in-the-making
Champ in-the-making
Well, if I find out how to build an AMP that works  Smiley Tongue  and also change the code to make it more clear (and without errors) maybe I will release an AMP file (or at least I´ll write the code in the forums). But I have to say that our system to send emails is still a test to see how Alfresco works.

simon
Champ in-the-making
Champ in-the-making
That would be great! Smiley Happy Give me a call when you need a beta tester, I would love to try it out if you can find the time to build it.