As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var mail = actions.create("mail"); mail.parameters.to = "external_user@blabla.fr"; mail.parameters.subject = "Html test"; mail.parameters.from = "alfresco@blabla.fr"; mail.parameters.text = "My name is Adrien Blabla<br/><b> if you see this it is very bold</b>"; mail.parameters.node=document; //here you set document to sent via email, you can comment this line if you do not want to send doc :) mail.execute(document);