定时调度中,邮件推送失败

邮件发送失败
com.fr.schedule.output.EmailException: javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at com.fr.schedule.output.EmailNotification.doFileAction(Unknown Source)
    at com.fr.schedule.output.EmailNotification.doFileAction(Unknown Source)
    at com.fr.fs.schedule.job.DoFileActionJob.doFileAction(Unknown Source)
    at com.fr.fs.schedule.job.DoFileActionJob.execute(Unknown Source)
    at com.fr.third.org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at com.fr.third.org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1907)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:666)
    at javax.mail.Service.connect(Service.java:295)
    at javax.mail.Service.connect(Service.java:176)
    at com.fr.base.EmailManager.connect(Unknown Source)
    at com.fr.base.EmailManager.send(Unknown Source)
    at com.fr.base.EmailManager.send(Unknown Source)
    ... 6 more
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:549)
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:486)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1902)
    ... 12 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(Unknown Source)
    ... 19 more

FineReport 胡丹儿 发布于 2020-1-11 09:09
1min目标场景问卷 立即参与
回答问题
悬赏:14 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
Edward_DDLv5中级互助
发布于2020-1-11 09:32

可以确认一下推送人是否有推送模板的查看权限,我之前有因为权限问题推送失败过

  • 2关注人数
  • 725浏览人数
  • 最后回答于:2020-1-11 09:32
    请选择关闭问题的原因
    确定 取消
    返回顶部