Hi all,I was using with previuos Alfresco Version this code: Action mailAction1 = this.actionService.createAction(MailActionExecuter.NAME);
mailAction1.setParameterValue(
MailActionExecuter.PARAM_SUBJECT , "Some questions");
mailAction1.setParameterValue(MailActionExecuter.PARAM_TO_MANY , recipients);
mailAction1.setParameterValue(MailActionExecuter.PARAM_FROM, "alfresco@alfresco.org");
mailAction1.setParameterValue(MailActionExecuter.PARAM_TEXT, "Your txt here ");
this.actionService.executeAction(mailAction1, null);
but now, using PARAMETER_TO_MANY causes exception:User
rova4 ERROR [action.executer.MailActionExecuter] Failed to se
nd email to mail@alfresco.org
org.springframework.mail.MailPreparationException: Could not prepare mail; neste
d exception is java.lang.NullPointerException
Caused by: java.lang.NullPointerException
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:557)
I saw the problem, in SMTPTransport class is on "addresse" that are null.Can anyone tell me how to send email to multiple recipients with a ";" separated list?Thanks in advance!