Jump to content

How can i get emails from scheduled Reports of JS


pentaho

Recommended Posts

How to implement Report Scheduler in JASPER SERVER.....
I have refered the Jasper Intellegence User's Guide for Report Scheduler info....
The published  5 Reports in jasper server, & used one Report scheduleded to work on specific date and time.........
I have added folder to store pdf output files and enterd emailid  to sent an attachment of the scheduled report output........
Report executed on specific time and pdf stored in the folder, but i'm not getting any email attachment report output........
To get an report email output attachment, any setting i need to make.........

I'm not getting emails from the scheduleded reports.........


How exactly email (scheduled reports outputs attachments) works in jasper server.....
 

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

My js.quartz.properties file contains the following default values.........

What values i need to Change here..........

 

# This file is now just a pass-through for stuff in the
# file referenced by the Maven js.quartz.properties file.

quartz.delegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate

quartz.tablePrefix=QRTZ_

quartz.extraSettings=

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

report.scheduler.web.deployment.uri=http://localhost:8080/jasperserver-pro
 

Link to comment
Share on other sites

You need to change the value of parameters:

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

Link to comment
Share on other sites

Hi Anand,

I tried using below mentioned information, however it did'nt work for me.

 

report.scheduler.mail.sender.host=mail.localhost.com
report.scheduler.mail.sender.username= (Username that I am using to login to jasper server)
report.scheduler.mail.sender.password= (Password that I am using to login to jasper server)
report.scheduler.mail.sender.from=admin@localhost.com
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25

 

Any further explanation on the same would be great.

 

Thanks,

Deepak

 



Post Edited by Deepak Kansal at 02/06/09 09:07
Link to comment
Share on other sites

Heyas,

you have to enter host &credentials of your internal mail server (exchange, notes, ...) into the correct fields. sender.from should be something like "jasperserver@<yourdomain.com>" and is the sending address shown in the mails you will receive.

regards

Marc

Link to comment
Share on other sites

Hello,

I would add some complements to Marc's answer.

First, you are not obliged to provide credentials if your smtp relay is working without that. But, most of time, this relay will check that the sender is in the "network domain" it is in charge of. If it is the case, credentials are not mandatory else you have to provide credentials.

Then, there is a "bug" in jasperserver : by default it doesn't send credentials to the sendmail server even if you set a login/password in js.quartz.properties file, so your mail request is denied.

Lucianc on this forum gave the work-around about this bug : make a search.

Gaby

 

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...