How can I list the name of the files attached to a message without invoking getBodyPart()?
Created Dec 31, 2005
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().