Skip to content

Instantly share code, notes, and snippets.

@douglascrp
Created May 15, 2025 18:00
Show Gist options
  • Save douglascrp/2e122a3561cb62754185af02eb39c501 to your computer and use it in GitHub Desktop.
Save douglascrp/2e122a3561cb62754185af02eb39c501 to your computer and use it in GitHub Desktop.
Teste de email alfresco
var email = "email";
var mail = actions.create("mail");
mail.parameters.to = email;
mail.parameters.subject = "Teste: " + document.name;
mail.parameters.text = "Email de teste";
mail.execute(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment