This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find email size?  RSS feed

Ankur Goyal
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I get the actual size of an email without reading the body content from the server? The "getSize()" method is not accurate 'coz it doesn't take into account content transfer encoding. Is there any other way?? Or are there any algorithms to get the actual size of email by using the size value returned by "getSize()" method and taking into account the transfer enoding used to encode the mail??
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!