How can I list the name of the files attached to a message without invoking getBodyPart()?

John Zukowski

Short answer: You can't.

Longer answer: You can discover all the multipart messages without calling getBodyPart(), but you can't tell if those messages actually contain attachments, and you definitely can't tell the name of the attachments without calling getBodyPart().

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

 

 

 

 

 


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

 

 

About | Sitemap | Contact