03-15-2010 05:02 AM
ç
script:
{
var mail = actions.create("mail");
var objeto = args.email;
var jsonMail = eval("("+objeto+")");
mail.parameters.to = jsonMail.to;
mail.parameters.subject = jsonMail.subject;
mail.parameters.from = jsonMail.from;
var mailSubject = mail.parameters.subject;
logger.log("mailSubject: " + mailSubject);
model.formTitle=jsonMail.title;
model.datos=jsonMail.fields;
mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/plantilla.ftl");
mail.parameters.loquesae = jsonMail.fields;
var mailMatter = mail.parameters.text;
mail.parameters.text = "Correo con asunto: "+jsonMail.subject;
mail.execute(mail.parameters.template);
model.res=jsonMail.to;
model.email=objeto;
}
07-29-2010 01:34 PM
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.