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

John Zukowski

Instead of using FileDataSource, create a custom DataSource. You can find a ByteArrayDataSource example of this in the demo directory that comes with JavaMail.

About | Sitemap | Contact