Jump to content
We've recently updated our Privacy Statement, available here ×

Having error when sending reports to gmail


mrkarthickraja88

Recommended Posts

2013-11-11 11:12:02,782 ERROR ReportExecutionJob,quartzScheduler_Worker-2:306 - fail to send out alert mail notification

com.jaspersoft.jasperserver.api.JSExceptionWrapper: 

javax.mail.internet.AddressException: Illegal address in string ``''

at org.springframework.mail.javamail.MimeMessageHelper.parseAddress(MimeMessageHelper.java:708)

at org.springframework.mail.javamail.MimeMessageHelper.setTo(MimeMessageHelper.java:592)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobAlertImpl.sendAlertMail(ReportExecutionJobAlertImpl.java:78)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendAlertMail(ReportExecutionJob.java:594)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:574)

at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:217)

at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:49)

at org.quartz.core.JobRunShell.run(JobRunShell.java:213)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

 

Cant find  what exact the soltion for this.i have done the things correctly 

in js.quartz and also in application context_reporting files,

using jasper server 5.5

 

but still not find the solution...........

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Looks like you enterd a wrong address in js.quartz.properties

Mine looks like...

 

report.scheduler.mail.sender.host=smtp.gmail.com
report.scheduler.mail.sender.username=my_mail@gmail.com
report.scheduler.mail.sender.password=my_pass
report.scheduler.mail.sender.from=return_mail
report.scheduler.mail.sender.protocol=smtp

 

report.scheduler.mail.sender.port=587
report.scheduler.web.deployment.uri=http://localhost:8080/jasperserver
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...