12-13-2011 01:38 AM
12-13-2011 11:17 AM
12-15-2011 11:46 PM
12-16-2011 09:41 AM
// create mail action
var mail = actions.create("mail");
// set the required parameters
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.