|
|
@ -62,12 +62,8 @@ public class EmailSenderServiceImpl implements EmailSenderService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isMailServerConfigured() {
|
|
|
|
private boolean isMailServerConfigured() {
|
|
|
|
if(EmailSenderDataHolder.getInstance().getConfigurationContextService().getServerConfigContext().
|
|
|
|
return (EmailSenderDataHolder.getInstance().getConfigurationContextService().getServerConfigContext().
|
|
|
|
getAxisConfiguration().getTransportOut(TRANSPORT_SENDER_NAME) != null) {
|
|
|
|
getAxisConfiguration().getTransportOut(TRANSPORT_SENDER_NAME) != null);
|
|
|
|
return true;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|