aCharset, bSSLEnabled, EmailGlobalSettings.isUseSTARTTLS (), EmailGlobalSettings.getConnectionTimeoutMilliSecs (), EmailGlobalSettings.getTimeoutMilliSecs (),
final boolean bSTARTTLSEnabled = StringParser.parseBool (sSTARTTLSEnabled, EmailGlobalSettings.isUseSTARTTLS ());
{} final boolean bSSLEnabled = aWPEC.getCheckBoxAttr (FIELD_SSL, EmailGlobalSettings.isUseSSL ()); final boolean bSTARTTLSEnabled = aWPEC.getCheckBoxAttr (FIELD_STARTTLS, EmailGlobalSettings.isUseSTARTTLS ()); final long nConnectionTimeoutMS = aWPEC.getAttributeAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.getAttributeAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG);
.isCheckBoxChecked (FIELD_STARTTLS, EmailGlobalSettings.isUseSTARTTLS ()); final long nConnectionTimeoutMS = aWPEC.params ().getAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.params ().getAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG);
.isCheckBoxChecked (FIELD_STARTTLS, EmailGlobalSettings.isUseSTARTTLS ()); final long nConnectionTimeoutMS = aWPEC.params ().getAsLong (FIELD_CONNECTION_TIMEOUT, CGlobal.ILLEGAL_ULONG); final long nSocketTimeoutMS = aWPEC.params ().getAsLong (FIELD_SOCKET_TIMEOUT, CGlobal.ILLEGAL_ULONG);
aTable.createItemRow () .setLabel (EText.MSG_EMAIL_USE_STARTTLS.getDisplayText (aDisplayLocale)) .setCtrl (EWebBasicsText.getYesOrNo (EmailGlobalSettings.isUseSTARTTLS (), aDisplayLocale)); aTable.createItemRow () .setLabel (EText.MSG_EMAIL_CONNECTION_TIMEOUT.getDisplayText (aDisplayLocale))
aDisplayLocale))); aForm.addFormGroup (new BootstrapFormGroup ().setLabel (EText.MSG_EMAIL_USE_STARTTLS.getDisplayText (aDisplayLocale)) .setCtrl (EPhotonCoreText.getYesOrNo (EmailGlobalSettings.isUseSTARTTLS (), aDisplayLocale))); aForm.addFormGroup (new BootstrapFormGroup ().setLabel (EText.MSG_EMAIL_CONNECTION_TIMEOUT.getDisplayText (aDisplayLocale))
aDisplayLocale))); aForm.addFormGroup (new BootstrapFormGroup ().setLabel (EText.MSG_EMAIL_USE_STARTTLS.getDisplayText (aDisplayLocale)) .setCtrl (EPhotonCoreText.getYesOrNo (EmailGlobalSettings.isUseSTARTTLS (), aDisplayLocale))); aForm.addFormGroup (new BootstrapFormGroup ().setLabel (EText.MSG_EMAIL_CONNECTION_TIMEOUT.getDisplayText (aDisplayLocale))
aForm.addFormGroup (new BootstrapFormGroup ().setLabel (sSTARTTLS) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_STARTTLS, aSettings == null ? EmailGlobalSettings.isUseSTARTTLS () : aSettings.isSTARTTLSEnabled ()))) .setErrorList (aFormErrors.getListOfField (FIELD_STARTTLS)));
aForm.addFormGroup (new BootstrapFormGroup ().setLabel (sSTARTTLS) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_STARTTLS, aSettings == null ? EmailGlobalSettings.isUseSTARTTLS () : aSettings.isSTARTTLSEnabled ()))) .setErrorList (aFormErrors.getListOfField (FIELD_STARTTLS)));
.setLabel (sSTARTTLS) .setCtrl (new HCCheckBox (new RequestFieldBoolean (FIELD_STARTTLS, aSettings == null ? EmailGlobalSettings.isUseSTARTTLS () : aSettings.isSTARTTLSEnabled ()))) .setErrorList (aFormErrors.getListOfField (FIELD_STARTTLS));