kreczet Posted January 10, 2014 Share Posted January 10, 2014 Hi Recently I had to change the mail host. My previous configuration is SMTP port = 587 Now I use the local server SMTPS port = 465 Unfortunately I can not send messages with scheduled reports. My configuration: quartz.tablePrefix=QRTZ_ quartz.extraSettings= report.scheduler.mail.sender.host=mail.xxxxxxx.xxxxreport.scheduler.mail.sender.username=raporty_it@xxxxxxxxxxxreport.scheduler.mail.sender.password=xxxxreport.scheduler.mail.sender.from=raporty_it@xxxxxxxxxxxxxxxxreport.scheduler.mail.sender.protocol=smtpsreport.scheduler.mail.sender.port=465 report.scheduler.web.deployment.uri=http://localhost:8082/jasperserver Link to comment Share on other sites More sharing options...
hozawa Posted January 12, 2014 Share Posted January 12, 2014 I don't think JasperServer supports SMTPS. Link to comment Share on other sites More sharing options...
kreczet Posted January 13, 2014 Author Share Posted January 13, 2014 Error from log:2014-01-13 12:46:18,603 ERROR ReportExecutionJob,quartzScheduler_Worker-1:306 - The job error notification was not completed. An error occurred while sending it.[/code]org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; [/code]nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; message exception details (1) are:Failed message 1:javax.mail.MessagingException: Can't send command to SMTP host;[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now