How to set up a mail for email delivery for reports in Jaspersoft

Hi,

I want to set up email delivery of reports. I read that I need to set up mail delivery options. I am using AWS Jaspersoft server 5.x. How I can enable email delivery in AWS Jaspersoft server?

Thanks,

Gowri

gowri's picture
53
Joined: Jun 24 2014 - 5:04pm
Last seen: 7 years 1 month ago

Any answers for this question?

gowri - 8 years 1 month ago

1 Answer:

Hi Gowri, to configure the scheduler mailing options you need to SSH into your EC2 instance and setup your mail server configuration in the file Quartz config file. The file is located in "/usr/share/tomcat7/webapps/jasperserver-pro//WEB-INF/js.quartz.properties" you may need to use "sudo" since the ec2-user by default does not have permision in this folder. Pick your favorite text editor and edit the config file, at the bottom you will find this:

report.scheduler.mail.sender.host=mail.localhost.com
report.scheduler.mail.sender.username=admin
report.scheduler.mail.sender.password=password
report.scheduler.mail.sender.from=admin@localhost.com
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25

Change those values to match your mail server and you are set. Here is an article that explains this more in depth: http://community.jaspersoft.com/wiki/configuring-report-scheduler#Settin...

You also have some extra scheduelr configuration that is explained in the JasperServer Admin Guide http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

marianol's picture
15776
Joined: Sep 13 2011 - 8:04am
Last seen: 4 years 5 months ago
Feedback