Sending a rich text email via javascript
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2010 01:19 AM
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:
http://wiki.alfresco.com/wiki/WorkflowAdministration
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?
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:
http://wiki.alfresco.com/wiki/WorkflowAdministration
var mail = actions.create("mail");mail.parameters.to = initiator.properties["cm:email"];mail.parameters.subject = "Adhoc Task " + bpm_workflowDescription;mail.parameters.from = bpm_assignee.properties["cm:email"];//mail.parameters.text = "It's done";mail.parameters.template = ………mail.execute(bpm_package);
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:
<HTML><BODY><TABLE>…..</TABLE></BODY></HTML>
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2010 03:20 AM
Hi,
i'm sorry but with alfresco mail action you can just send plain text email. To send html email or add attachments you need an extension.
Here you can find some partial solutions http://forums.alfresco.com/fr/viewtopic.php?f=11&t=940 and http://forums.alfresco.com/en/viewtopic.php?f=4&t=26559 .
I hope this can help.
i'm sorry but with alfresco mail action you can just send plain text email. To send html email or add attachments you need an extension.
Here you can find some partial solutions http://forums.alfresco.com/fr/viewtopic.php?f=11&t=940 and http://forums.alfresco.com/en/viewtopic.php?f=4&t=26559 .
I hope this can help.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2010 06:44 PM
Thank you Daniele! I hope HTML emails are integrated as a part of future Alfresco releases.
