Jump to content

Mail SMTPS configuration


kreczet

Recommended Posts

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.xxxx
report.scheduler.mail.sender.username=raporty_it@xxxxxxxxxxx
report.scheduler.mail.sender.password=xxxx
report.scheduler.mail.sender.from=raporty_it@xxxxxxxxxxxxxxxx
report.scheduler.mail.sender.protocol=smtps
report.scheduler.mail.sender.port=465
 
report.scheduler.web.deployment.uri=http://localhost:8082/jasperserver

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...