You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mail/MailProperties.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,11 @@ public static class Ssl {
153
153
*/
154
154
privatebooleanenabled;
155
155
156
+
/**
157
+
* Whether to enable hostname verification.
158
+
*/
159
+
privatebooleanverifyHostname = true;
160
+
156
161
/**
157
162
* SSL bundle name. If set, 'mail.(protocol).ssl.socketFactory' property is set to
158
163
* an SSLSocketFactory obtained from the corresponding SSL bundle.
@@ -170,6 +175,14 @@ public void setEnabled(boolean enabled) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mail/MailSenderPropertiesConfiguration.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mail/MailSenderAutoConfigurationTests.java
0 commit comments