EmailGlobalSettings.getConnectionTimeoutMilliSecs (), EmailGlobalSettings.getTimeoutMilliSecs (), EmailGlobalSettings.isDebugSMTP ());
final boolean bDebugSMTP = StringParser.parseBool (sDebugSMTP, EmailGlobalSettings.isDebugSMTP ());
if (EmailGlobalSettings.isDebugSMTP ()) LOGGER.error ("Error send mail - SendFailedException", ex); if (EmailGlobalSettings.isDebugSMTP ()) LOGGER.error ("Error send mail - MessagingException", ex);
final long nConnectionTimeoutMS = aWPEC.getAttributeAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.getAttributeAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG); final boolean bDebugSMTP = aWPEC.getCheckBoxAttr (FIELD_DEBUG_SMTP, EmailGlobalSettings.isDebugSMTP ());
final long nConnectionTimeoutMS = aWPEC.params ().getAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.params ().getAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG); final boolean bDebugSMTP = aWPEC.params ().isCheckBoxChecked (FIELD_DEBUG_SMTP, EmailGlobalSettings.isDebugSMTP ());
final long nConnectionTimeoutMS = aWPEC.params ().getAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.params ().getAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG); final boolean bDebugSMTP = aWPEC.params ().isCheckBoxChecked (FIELD_DEBUG_SMTP, EmailGlobalSettings.isDebugSMTP ());
aForm.addFormGroup (new BootstrapFormGroup ().setLabel (sDebugSMTP) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_DEBUG_SMTP, aSettings == null ? EmailGlobalSettings.isDebugSMTP () : aSettings.isDebugSMTP ()))) .setErrorList (aFormErrors.getListOfField (FIELD_DEBUG_SMTP)));
aForm.addFormGroup (new BootstrapFormGroup ().setLabel (sDebugSMTP) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_DEBUG_SMTP, aSettings == null ? EmailGlobalSettings.isDebugSMTP () : aSettings.isDebugSMTP ()))) .setErrorList (aFormErrors.getListOfField (FIELD_DEBUG_SMTP)));
.setLabel (sDebugSMTP) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_DEBUG_SMTP, aSettings == null ? EmailGlobalSettings.isDebugSMTP () : aSettings.isDebugSMTP ()))) .setErrorList (aFormErrors.getListOfField (FIELD_DEBUG_SMTP));