How can I send an attachment without having to use a physical file? - 08.31.06

John Zukowski

 

 

Instead of using FileDataSource, use a different DataSource. You can find a ByteArrayDataSource example of this in the demo directory that comes with early versions of JavaMail, or use the standard version of the class added to JavaMail 1.4.

About | Sitemap | Contact