MailActionInfo mailActionInfo = new MailActionInfo(null, getAdminSubject(), message);
adminEmailQueue.add(new EmailCertData(userDataVO.getUsername(), mailActionInfo));
}
} catch (Exception e) {
log.error("Error running service work: ", e);
throw new ServiceExecutionFailedException(e);
}
}
// Send of the mails
if (isSendToEndUsers()) {
sendEmails(userEmailQueue, ejbs);