When scheduling reports via URL, the publishing to e-mail properties are as follows:
jrs.jrmail0=jrs.mailsubject%3dreport%2520EmployeeInformation%26jrs.mailformat%3d0%26jrs.mailto%3dreader1%26jrs.jrmail1=jrs.mailsubject%3dreport%2520EmployeeInformation%26jrs.mailformat%3d4%26jrs.mailto%3dreader2%252c%2520reader3%26
jrs.csmail0=jrs.mailcomments%3dto%2520user1.%26jrs.mailsubject%3dtest%2520sending%2520normal%2520emails%2520without%2520report%26jrs.mailto%3dtim%40support.jinfonet.com&jrs.mailattach1%3dd%3a%5ctest1.txt&jrs.mailattach0%3dd%3a%5ctest0.txtjrs.csmail1=jrs.mailcomments%3dto%2520user2.%26jrs.mailsubject%3dtest%2520sending%2520normal%2520emails%2520without%2520report%26jrs.mailto%3dhelen%40support.jinfonet.com%26jrs.mailattach1%3dd%3a%5ctest2.txt%26jrs.mailattach0%3dd%3a%5ctest3.txt
jrs.mailattach0=d%3a%5ctest1.txt (where "d%3a%5ctest1.txt" is the URL-encoded string of "d:\test1.txt")
Note: jrs.mailencoding is used to specify the mail encoding in the URL. When sending mails by RMI API, sometimes, wrong characters may be returned in the mail. In order to avoid such problems, specify the same correct value of -Djreport.url.encoding on both the server and RMI client side.
For example, your web application calls JReport Server (standalone) via the RMI function from WebSphere, and UTF-8 (use UTF-8 rather than UTF8) will be used as the mail encoding, do as follows:http://localhost:8888/jinfonet/submitSchedPage.jsp?jrs.cmd=jrs.submit_schedule&jrs.catalog=/SampleReports.cat&jrs.report=/CustomerAnalysis.cls&jrs.param$P_StartDate=2006-01-01&jrs.param$p_EndDate=2007-12-31&jrs.task_class=jet.server.schedule.jrtasks.SendMailTask&jrs.to_mail=true&jrs.csmail0=jrs.mailto%3dxxx@jinfonet.com%26jrs.mailcomments%3dtouser1.%26jrs.mailsubject%3dreportkkkk%26jrs.mailattach0%3dd%3a%5ctemp%5ctest1.txt%26jrs.mailattach1%3dd%3a%5ctemp%5ctest2.txt