This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
for sending a mail standalone programe its working fine following code.
when i applied for a servlet controller i am getting this type of exception
[STDOUT] ERROR.....javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketException: Connection reset please help me out [ October 24, 2006: Message edited by: Ben Souther ]