P
Peter Kirk
Hi there
In a web app I am making, I use a class which has a method which generates a
pdf from some xml data. The method accepts a "stream" parameter which I set
to the http-output-stream, and thereby the pdf is sent automatically to the
user's browser.
This has worked fine, but now there are some changes required.
Instead of streaming the pdf to the user's browser I need to include the pdf
in an email instead. Actually I need to send multiple emails with the same
pdf. What is a good way of doing this? What type of "output stream" can I
instantiate and send to the pdf-generation method, and include in multiple
emails?
Thanks for any advice,
Peter
In a web app I am making, I use a class which has a method which generates a
pdf from some xml data. The method accepts a "stream" parameter which I set
to the http-output-stream, and thereby the pdf is sent automatically to the
user's browser.
This has worked fine, but now there are some changes required.
Instead of streaming the pdf to the user's browser I need to include the pdf
in an email instead. Actually I need to send multiple emails with the same
pdf. What is a good way of doing this? What type of "output stream" can I
instantiate and send to the pdf-generation method, and include in multiple
emails?
Thanks for any advice,
Peter