mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-2868 : MNT-17970
This commit is contained in:
@@ -1047,8 +1047,8 @@ public class MailActionExecuter extends ActionExecuterAbstractBase
|
|||||||
{
|
{
|
||||||
// Send the message unless we are in "testMode"
|
// Send the message unless we are in "testMode"
|
||||||
if (!testMode)
|
if (!testMode)
|
||||||
{
|
{
|
||||||
mailService.send(preparedMessage.getMimeMessage());
|
mailService.send(preparedMessage.getMimeMessage());
|
||||||
onSend();
|
onSend();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -1057,7 +1057,7 @@ public class MailActionExecuter extends ActionExecuterAbstractBase
|
|||||||
testSentCount++;
|
testSentCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (MailException e)
|
catch (NullPointerException | MailException e)
|
||||||
{
|
{
|
||||||
onFail();
|
onFail();
|
||||||
String to = (String)ruleAction.getParameterValue(PARAM_TO);
|
String to = (String)ruleAction.getParameterValue(PARAM_TO);
|
||||||
|
Reference in New Issue
Block a user