Monday, July 7, 2003 01:19 PM
I am trying to read messages from the pop3 store from JAMES using JSP on Tomcat 4.1 its throwing null pointer exception when using folder.getMessages(). If the same logic executed from a java application using main function its working fine.
This is happening if there are some mails in the inbox. If no messages its working.
I am not using Context to retrieve Session from context refference.
Can any one help in this regard.
Thanks in advance.