03-02-2009 10:08 AM
03-03-2009 06:09 AM
03-04-2009 10:41 AM
03-04-2009 12:26 PM
03-11-2009 08:33 AM
// create mail action
var mail = actions.create("mail");
mail.parameters.to = "davidc@alfresco.com";
mail.parameters.subject = "Hello from JavaScript";
mail.parameters.from = "davidc@alfresco.com";
mail.parameters.template = root.childByNamePath("Company Home/Data Dictionary/Email Templates/notify_user_email.ftl");
mail.parameters.text = "some text, in case template is not found";
// execute action against a document
mail.execute(doc);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.