Javamail to receive emails; whats wrong?
问题 I am trying to create a very simple (text based for now) email app for receiving emails. So far i have used this code : http://www.javaer.org/j2ee/3-javamail/8-javamail-connecting-gmail-using-pop3-with-ssl The problem is that i when i run this code i am able to get the new emails, only for once. For example if i have a new message in inbox the first time i will this code it will show it but then it wont. Also it seems that i cant see the body contents of the emails which is strange. I was