seshasaib Posted September 6, 2006 Share Posted September 6, 2006 Hi, I am able to generate the report and we are storing the generated report in db based on its time when it was generated as its name preceded by template name. for exampleReportTemplate 09-08-2006 21:13:56 CST.PDF I am showing all the reports generated using that template in a jsp page.And have kept generated by abc@email.com (which is basically the e-mail of the person who generated it) and have kept a <a href="mailTo"> option for that. Now my doubt is how can i include the report that generated as an attachment. i have <a href="mailto:abc@email.com?subject=ReportTemplate 09-08-2006 21:13:56 CST.PDF"> how to keep this as an attahcment. Thanks and regards,Sesha sai Link to comment Share on other sites More sharing options...
Code_Slave Posted September 7, 2006 Share Posted September 7, 2006 take a look at the javamail api over at sun.it allows you to send emails from java. I use it to automatically email my reports from an oracle database. you just pass in a few strings , and your attachment(report) as an object.and thats all there is to it. Link to comment Share on other sites More sharing options...
seshasaib Posted September 7, 2006 Author Share Posted September 7, 2006 Thanks dude. Lemme check it and will come back to u once i go thru it. Cheers,Sesha Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now