Most people don't know this but there's an hidden gem inside Pentaho 3.5 (and the soon to be released 3.6);
The ability to send a report by email ...
Nothing new so far?
... with all images and resources inline
So no more of being forced to send pdf attachments in boring text or html emails, or the need to have your pentaho server accessible in the www. Pretty cool, hein?
Did you just said you like the pdf attachments?
You can still send your pdf attachments with the html email!
And I'm not done yet! Want to impress your friends of the other company by receiving yesterday's sales report on your smartphone while having breakfast?
Just render a text version of that report
and it'll automagically generate a mime/alternate email message and your email client will chose the best format to display the information to you
You didn't know this was possible? It's all in there. More than one and a half year's ago we developed a bunch of patches to allow this. And why? Because one of our customers wanted this feature. <shamelessplug> And that's what we do, develop cool stuff for our customers</shamelessplug>
* A new repository implementation was built to allow the generation of a mime-message directly from the jfreereport engine (with Thomas Morgner's help, of course)
* A patch to the reporting plugin to add a new supported output-type 'email'
* Support to the text output in the reporting plugin
* A SimpleEmailComponent POJO that sends the emails
The existing action to send emails is very limiting, so we had to develop a new one. Pentaho guys allowed this to be commited along with the reporting plugin. We all agree that the BI suite need a full-featured email component so this POJO will eventually be moved out of the reporting plugin. But until that happens - hey, let's use it!
nuff said; Want to see this working? We stored on webdetails site an archive of all the necessary files. Unzip it to your pentaho solution folder of choice, see how it works and feel free to play with it!