AnsweredAssumed Answered

Sending Emails: No mimeContent

Question asked by moffel on Jun 24, 2015
Latest reply on Jul 7, 2016 by hiten.rastogi

I'm trying to send periodical emails within a workflow. I've added the following code:
var mail = actions.create("mail"); =["cm:email"];
mail.parameters.subject = "Review";
mail.parameters.from = "";
mail.parameters.text = "Workflow: " + bpm_workflowDescription;

The code is executet correctly, but there seems to be an error with the content of the mail. I'm getting the following Mail errore:

[org.alfresco.repo.action.executer.MailActionExecuter] [pool-15-thread-2] Failed to send email to
org.springframework.mail.MailSendException: Failed messages: javax.mail.MessagingException: No MimeMessage content; message exception details (1) are:
Failed message 1:
javax.mail.MessagingException: No MimeMessage content

Can anybody help me?