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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.