AnsweredAssumed Answered

Sending Emails: No mimeContent

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

I'm trying to send periodical emails within a workflow. I've added the following code:
<javascript>
var mail = actions.create("mail");
mail.parameters.to = bpm_assignee.properties["cm:email"];
mail.parameters.subject = "Review";
mail.parameters.from = "xx@xx.de";
mail.parameters.text = "Workflow: " + bpm_workflowDescription;
mail.execute(bpm_package);
</javascript>

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 xx@yy.de
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?

Outcomes