/** * Parses the SMTP properties and checks whether a connection can be established. * * @param sendTestMailIfEnabled * send a test email if this feature is enabled */ private void onSmtpPropertiesChanged(boolean sendTestMailIfEnabled) { parseAdditionalPropertiesString(); checkConnection(sendTestMailIfEnabled && testMailEnabled); }