cancel
Showing results for 
Search instead for 
Did you mean: 

Send email with HTML fomat

ribz33
Champ on-the-rise
Champ on-the-rise
hi,

i did a mail with HTML format but when i receive it, its a plain text mail. I see all html tags in text.
Is there a special configuration to do to send HTML mail ?

Thx in advance
3 REPLIES 3

brianz
Champ in-the-making
Champ in-the-making
I Would also like to be able to send HTML emails.

What I am trying to do is to send the path to a CIFS folder in the form of a file link, something like:

Please go here to edit the document: <a href="file://MyAlfrescoServer/Alfresco/My_CIFS_Folder">Link to CIFS Folder</a>

Anyone found a solution to this please?  Is there a config that can be set?

Thanks,

Brian

ribz33
Champ on-the-rise
Champ on-the-rise
Hi Brian,

i did more investigations since this old post and it seems that Alfresco don't provide HTML mail.
To do it you need to extend mailActionExecuter.java, to configure it to support HTML.
Copy original code and replace :
message.setText(text);
by
message.setText(text,true);

brianz
Champ in-the-making
Champ in-the-making
Thanks Pierre for the quick reply.

I don't really know how to extend java classes yet (I am new to all this!), but I'll try to find out and let you know how I get on.

Brian