[Grails] grails 插件 Mail
wangheshiniye
2014-02-28
有没有用过mail插件的 为什么同样的发邮件的程序 部署到两台机器上 一个成功一个失败发布出去邮件 是电脑环境的问题吗
异常信息: org.quartz.JobExecutionException: org.springframework.mail.MailSendException: Ma il server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorExc eption: PKIX path validation failed: java.security.cert.CertPathValidatorExcepti on: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path. Failed messages: javax.mail.Messagin gException: Could not connect to SMTP host: smtp.qq.com, port: 465; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorExc eption: PKIX path validation failed: java.security.cert.CertPathValidatorExcepti on: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path; message exceptions (1) are: Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorExc eption: PKIX path validation failed: java.security.cert.CertPathValidatorExcepti on: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path [See nested exception: org.springfram ework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, por t: 465; |
相关讨论
相关资源推荐
- VendingMachine-Approval-Kata:一个学习批准测试,特别是设计打印机的练习
- A-Kata-A-Day:每天从Codewars解决一个Kata
- javascript-code-kata-starter:一个简单的自动化环境,用于试验测试驱动的 JavaScript 开发
- fizzBuzzKata:嘶嘶声kata单元测试,TDD简介
- guess-number-kata:此仓库供单元测试基础学习
- Android-Android开发人员的Kata截图.主要目标是练习UI测试
- kata-bootstraps:空的项目,不同的语言,测试失败
- promotion-text-kata:一个小时的可读性和可维护性编程实践
- tamagotchi-kata:使用Cucumber用TDD构建一个Tamagotchi
- kata:Java通过比较Kata