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.
i have an application where unread messages must be retrieved from the gmail server inbox whenever it arrives.
the loop is executing for 15 times and the unread messages are retrieved but after 15 times i am getting exception
javax.mail.MessagingException: connection failure
at java.lang.Thread.run(Unknown Source)
why is it so.is there any other way to do the same.