This code throws a an AuthenicationFailedException as soon as it gets to store.connect(); I'm working through an article and am just trying to get the program working so that I could better understand James so some of this code is a little beyond me at this stage. The error says that it failed in com.sun.mail.pop3.POP3Store. I checked the users on the James server and they are there and their passwords are the same as set up in the tutorial.
Keep it Tidy
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com