Hi Sameer
Thanks for the pointer. As it happened, I managed to get StartTLS to work
inside Tomcat, although I am still not sure why there is a difference in
behaviour when the below application is run standalone vs inside Tomcat. In
advance, please forgive the extended explanation but I am acutel
Can you give the line number as to where the error is
happening.
I found this link on google search you can read thru
the same it describes similar problems.
We have not had problems using java mail under tomcat
but we dont use imap.
http://forum.java.sun.com/thread.jspa?threadID=761635&messageID=4