POP3 Mime Message problem
Hello,
I'm working on a program where I want to be able to access my companies noreply mail server and read in the messages that are bounced back from customers who either could not receive them or have spam blocker blocking them for some reason to flag there accounts so that we can prompt them on this problem. The problem I am having is that when I read in the messages using the RETR command and I'm getting the message back as a String array and I want to convert them to MimeMessage or SimpleMailMessage objects so that I can get the content that I need such as the user e-mail address. I don't see how I would be able to set the appropriate fields though because the messages come back as string arrays and there are a variety of different e-mails so I can't write parsing code based on the headers unless I want to have a bunch of cases. Any help or suggestions would be greatly appreciated.

