Created
February 26, 2018 17:27
-
-
Save korutx/993a2c5e83085ce6cf8c1ff5932a7194 to your computer and use it in GitHub Desktop.
Test Alfresco Mail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mail = actions.create('mail'); | |
mail.parameters.from = "alfresco@mail.com"; | |
mail.parameters.to = 'somemail@mail.com'; | |
mail.parameters.template = root.childByNamePath("Company Home/Data Dictionary/Email Templates/notify_user_email.ftl"); | |
mail.parameters.text = "some text, in case template is not found"; | |
mail.execute(companyhome); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment