Skip to content

How do you schedule BIRT Reports and send by email #1968

Answered by hvbtup
FinnLyn asked this question in Q&A
Discussion options

You must be logged in to vote

The BIRT open source project does not contain a fully-featured report server.
But it shouldn't be to difficult to develop your own solution, suited to your needs.
For example, if you want to send a report as an Email attachment, you probably want to control the message subject, body and attachment name, too.

Once the BIRT engine is initialized, executing a report is quite easy.
Take a look at the source file engine\org.eclipse.birt.report.engine\src\org\eclipse\birt\report\engine\api\ReportRunner.java and look for the method runAndRenderReport() there. You can use this code as a template.

For sending emails with SMTP, there are certainly several Java libraries available. However, I don't …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FinnLyn
Comment options

Answer selected by speckyspooky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants