Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Sending Rendered BIRT Report via Email
Sending Rendered BIRT Report via Email [message #564411] Tue, 21 September 2010 16:06 Go to next message
Eclipse UserFriend
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 #626326 is a reply to message #564411] Wed, 22 September 2010 14:27 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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
Re: Sending Rendered BIRT Report via Email [message #626572 is a reply to message #626326] Wed, 22 September 2010 16:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbeaulieu2.quillings.com

Thanks for this, Jason. I did see this, but it only contains the Java classes that send the email. It doesn't include an example report that actually uses those classes. Have you ever come across any example reports that use it?

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
Re: Sending Rendered BIRT Report via Email [message #626679 is a reply to message #626326] Wed, 22 September 2010 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbeaulieu2.quillings.com

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
Re: Sending Rendered BIRT Report via Email [message #627064 is a reply to message #626679] Wed, 22 September 2010 20:23 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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
>
Re: Sending Rendered BIRT Report via Email [message #1817747 is a reply to message #626326] Thu, 28 November 2019 13:21 Go to previous messageGo to next message
Gunesh Bhiwapurkar is currently offline Gunesh BhiwapurkarFriend
Messages: 1
Registered: June 2016
Junior Member
Hi Jason,

I can understand that this post is quite old and would like to try this Devshare example. Would you be able to share the latest link to access these classes.
Re: Sending Rendered BIRT Report via Email [message #1824258 is a reply to message #626326] Sat, 11 April 2020 08:33 Go to previous message
Dhanesh  G is currently offline Dhanesh GFriend
Messages: 1
Registered: April 2020
Junior Member
Provided URL is not working. not able to open the page.
Previous Topic:Java heapspace
Next Topic:How can i filter a data in column which should be case insensitive
Goto Forum:
  


Current Time: Fri Apr 19 15:58:05 GMT 2024

Powered by FUDForum. Page generated in 0.01962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top