Size of attachments
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   amit_mendelson
Posted On:   Tuesday, July 24, 2001 11:37 PM

How do I find the size of an attachment to email in Java?
and the size of the whole message?

Re: Size of attachments

Posted By:   hetal_joshi  
Posted On:   Monday, July 30, 2001 10:08 PM


One method "getSize" is available in JavaMail API for message object. That is inherited from "javax.mail.Part" interface. this method returns size in "int" datatype.

About | Sitemap | Contact