This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Part messagePart = message; Object content = messagePart.getContent();
In the above code in readMessageContent method I am passing message object which is assign to part interface when I call the method getContent() it is just throwing null and I am not getting the exception printed on my console.
Note: When I received a mail, which has attachment and some body content. I am unable to process the body part. Can any one provide me the code which can do The above requirement.
Thanks in Advance. Ajay. [ January 17, 2008: Message edited by: Bear Bibeault ]