This commit is contained in:
Looly
2022-04-16 08:13:37 +08:00
parent 50abb8f6a6
commit f23ec7eb16
6 changed files with 24 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
package cn.hutool.extra.mail;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
@@ -579,7 +578,6 @@ public class MailAccount implements Serializable {
// SSL
if (null != this.sslEnable && this.sslEnable) {
Console.log("{} {}", SOCKET_FACTORY, socketFactoryClass);
p.put(SSL_ENABLE, "true");
p.put(SOCKET_FACTORY, socketFactoryClass);
p.put(SOCKET_FACTORY_FALLBACK, String.valueOf(this.socketFactoryFallback));