邮件服务连接客户邮箱服务器报错Could not convert socket to TLS 多次发送会有失败
客户方和我方配置均为 props.put(“mail.smtp.auth”, “true”); props.put(“mail.smtp.timeout”, “25000”); props.put(“mail.smtp.host”, mailConfig.getHost()); props.put(“mail.smtp.port”, mailConfig.getPort()); props.put(“mail.smtp.ssl.protocols”, “TLSv1.2”);
我方 javax.mail 为1.6.1
他方 javax.mail 为1.5.0-b01