Sending Rendered BIRT Report via Email [message #564411] |
Tue, 21 September 2010 16:06 |
Eclipse User |
|
|
|
Originally posted by: bbeaulieu2.quillings.com
Does anyone have an example of sending a BIRT report via email while also rendering the report as normal?
I have a situation where I need to gather a list of emails programmatically depending on the contents of the report, and then I need to not only render the report as normal but also send the HTML contents to all of the gathered recipients.
Thanks in advance,
Brad Beaulieu
bbeaulie@us.ibm.com
|
|
|
|
|
|
Re: Sending Rendered BIRT Report via Email [message #627064 is a reply to message #626679] |
Wed, 22 September 2010 20:23 |
|
You call call java classes from birt report events, so you may be able
to just call it on the afterRender event.
Jason
On 9/22/2010 12:43 PM, Brad Beaulieu wrote:
> Ah, I see what this is doing now. It's generating the report through
> Java APIs and then sending the resulting HTML output via email. I'll
> look at that more closely to see if it's a viable solution, but do you
> have any idea if it's possible to do something similar from within the
> context of a report? The external solution is not ideal because the
> report is being run from Maximo, and it would be better to have the
> report itself generate the emails, as opposed to a scheduled batch job
> external to Maximo.
>
> Brad.
>
> On 9/22/2010 9:27 AM, Jason Weathersby wrote:
>> Take a look at this example:
>> http://www.birt-exchange.org/org/devshare/deploying-birt-rep orts/991-mailing-birt-reports-as-body-of-email/
>>
>>
>> Jason
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01962 seconds