Skip to main content



      Home
Home » Archived » BIRT » Sending reports with graphics via email
Sending reports with graphics via email [message #535519] Mon, 24 May 2010 05:01 Go to next message
Eclipse UserFriend
Hi,
I'm using linux to send my reports via email. In cron I have commands
to download report with wget and then I redirect the output to email
program with html option enabled. It works fine, but charts are not
sent. Have anyone solved this problem yet? I think the best solution
would be to encode graphics into html source, but haven't found any
simple program that could run from command line. Any suggestions would
be much appreciated.

Rafal
Re: Sending reports with graphics via email [message #535571 is a reply to message #535519] Mon, 24 May 2010 11:54 Go to previous message
Eclipse UserFriend
Take a look at this page:
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.p hp#emitterconfiguration

It describes how BIRT handles images. Essentially there are two
implementations of the IHTMLImageHandler class. One for file system
links and one for web use. If you use the HTMLCompletImageHandler
(which is the default) you should be able to set your image directory
to ./ which will create the images in the same directory as the report
html, which should allow you to send the html and the images in an
email. If you do not like this approach you could always implement your
own IHTMLImageHandler class to decide how you want to handle the images
(ie embedded them in a data html element base64 encoded).

Jason

On 5/24/2010 5:01 AM, Rafal Wojtowicz wrote:
> Hi,
> I'm using linux to send my reports via email. In cron I have commands to
> download report with wget and then I redirect the output to email
> program with html option enabled. It works fine, but charts are not
> sent. Have anyone solved this problem yet? I think the best solution
> would be to encode graphics into html source, but haven't found any
> simple program that could run from command line. Any suggestions would
> be much appreciated.
>
> Rafal
Previous Topic:Eclipse Preview Viewer JNDI Question
Next Topic:URL Parameters
Goto Forum:
  


Current Time: Sun Jul 06 03:12:09 EDT 2025

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

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

Back to the top