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.

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

 

 

 

 

 


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

 

 

About | Sitemap | Contact