fixing product-iots#1360

revert-70aa11f8
Nirothipan 7 years ago
parent cca8779521
commit dc9eac3ac8

@ -128,7 +128,7 @@
<i class="icon fw fw-error"></i><span></span>
</div>
<h4>
An invitation mail will be sent to this user to initiate device enrollment.
User added successfully.
</h4>
</div>
<!-- /content -->

@ -70,7 +70,7 @@ public class EmailSenderServiceImpl implements EmailSenderService {
emailData = contentProvider.getContent(info.getTemplate(), info.getParams());
if(EmailSenderDataHolder.getInstance().getConfigurationContextService()
.getServerConfigContext().getAxisConfiguration().getTransportOut(transportSenderName) == null){
throw new EmailSendingFailedException("Email transport is not configured.");
log.warn("Email invitation is not sent as the email is not configured.");
}
} catch (ContentProcessingInterruptedException e) {
throw new EmailSendingFailedException("Error occurred while retrieving email content to be " +

Loading…
Cancel
Save