AnsweredAssumed Answered

Sending a rich text email via javascript

Question asked by amarg on Oct 20, 2010
Latest reply on Oct 25, 2010 by amarg
Hi Experts,

I am an enterprise user of version 3.3
Recently I have been trying to send rich text email from Alfresco without success.
I found a copy of sample script at:

var mail = actions.create("mail"); =["cm:email"];
mail.parameters.subject = "Adhoc Task " + bpm_workflowDescription;
mail.parameters.from =["cm:email"];
//mail.parameters.text = "It's done";
mail.parameters.template = ………
I have modified the code and I am using a template rather than adding everything inside the text parameter as I had other issues that could not be resolved when I dumped the contents inside the text parameter.
My template file contains a HTML content:


Despite all these steps, I have not been able to receive rich text emails. I receive plain text emails with the HTML code exactly as it is.

Is there anyway I can send rich text emails from alfresco?