Posted By:
Nandagopal_Srinivasan
Posted On:
Wednesday, January 24, 2007 01:12 AM
Hello Everybody,
Wish you happy new year. While using the Javax.mail.message , we are using getContent to get the content of the Email message. I understand that the return value of which is an object which i am using further to check whether it is a Multipart or not and do processing based on which.
I am facing a strage issue in which for emails javax.mail.message of size less than 50k message.getContent is returning an object which is identified to be a Multipart object. where as for messages more than 100k size i am getting NullPointerException. Please find the exception below. It would be great if you can throw any pointer.
Rgds,
Nandu