cancel
Showing results for 
Search instead for 
Did you mean: 

send email outside of workflows

robain
Champ in-the-making
Champ in-the-making
Is it possible to send from Alfresco using the api outside of workflow and wihtout using rules. lets say there is a content and everytime one attribute is updated we want to send out an email directly from the "behavior" code lets say. anyone has idea if this is possible.

Thanks
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
Yes - the "send email" action can be called from any code via the Action API.  For Javascript code this is documented at http://wiki.alfresco.com/wiki/JavaScript_API_For_Alfresco_2.1#Actions_API, while for Java code this is documented at http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/action/ActionService.....

Cheers,
Peter

robain
Champ in-the-making
Champ in-the-making
wonderful. Thanks peter.