File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
modules/core-module/src/main/java/org/simplejavamail/api/mailer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,8 @@ public interface MailerGenericBuilder<T extends MailerGenericBuilder<?>> {
441441 T trustingAllHosts (boolean trustAllHosts );
442442
443443 /**
444- * Configures the current session to not verify the server's identity on an SSL connection. Defaults to true.
444+ * Configures the current session to not verify the server's identity on an SSL connection. Defaults to true, even for SMTP which makes sense since
445+ * opportunistic TLS is also enabled by default (also see {@link TransportStrategy#setOpportunisticTLS(Boolean)}).
445446 * <p>
446447 * Note that this is <em>not</em> the same as {@link #trustingAllHosts(boolean)} or {@link #trustingSSLHosts(String...)}.<br>
447448 * It would be prudent to have at least one of these features turned on, lest you be vulnerable to man-in-the-middle attacks.
You can’t perform that action at this time.
0 commit comments