mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing product-iots#1360
This commit is contained in:
parent
cca8779521
commit
dc9eac3ac8
@ -128,7 +128,7 @@
|
|||||||
<i class="icon fw fw-error"></i><span></span>
|
<i class="icon fw fw-error"></i><span></span>
|
||||||
</div>
|
</div>
|
||||||
<h4>
|
<h4>
|
||||||
An invitation mail will be sent to this user to initiate device enrollment.
|
User added successfully.
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<!-- /content -->
|
<!-- /content -->
|
||||||
|
|||||||
@ -70,7 +70,7 @@ public class EmailSenderServiceImpl implements EmailSenderService {
|
|||||||
emailData = contentProvider.getContent(info.getTemplate(), info.getParams());
|
emailData = contentProvider.getContent(info.getTemplate(), info.getParams());
|
||||||
if(EmailSenderDataHolder.getInstance().getConfigurationContextService()
|
if(EmailSenderDataHolder.getInstance().getConfigurationContextService()
|
||||||
.getServerConfigContext().getAxisConfiguration().getTransportOut(transportSenderName) == null){
|
.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) {
|
} catch (ContentProcessingInterruptedException e) {
|
||||||
throw new EmailSendingFailedException("Error occurred while retrieving email content to be " +
|
throw new EmailSendingFailedException("Error occurred while retrieving email content to be " +
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user