dcsimg
javamail
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dnyanesh_karajgar
Posted On:   Tuesday, September 13, 2005 05:56 AM

How to attach other than text file as inline attachment?

Re: javamail

Posted By:   shiladitya_sircar  
Posted On:   Monday, September 19, 2005 03:00 PM

Well, you could set the disposition on the Part Object (javax.mail.Part) to "javax.mail.Part.INLINE" by the setDisposition(..) and then setting a fileName to the javax.mail.Part should attach a file INLINE. Note, you obtain the javax.mail.Part from javax.mail.internet.MimeMultipart.

cheers
ssircar
About | Sitemap | Contact