Home
Analytics
How to create Report as an email
lazeeboy
Hi,
I have a requirement wherein, i have to create a birt report as an email and attach another contents of the report as a xls output.
Below is sample
Hi
Here is your data
id Name Qty
1 abc 10
Kind Regards,
Ash
Attachement: data.xls (which will contain data of the above table)
How do i do achieve this requirement. We have Actuate iServer 9 and Birt 2.3
Kind Regards,
Ashish
Find more posts tagged with
Comments
lazeeboy
Only way i have found was to create the report like an email would look like. The report then can be download as html and send it as emailbody using smtp.
ashish
Abdel
Hi,
What you could do is render the report into EXCEL or PDF etc.. attach this file to the mail as an attachment. If you are using javamail APIs you will be able to do this by creating a FileDataSource and add it to the MimeBodyPart object..
Regards,
Abdel Olakara