Read Email from a POP3 Exchange Server
I am trying to read messages from an Exchange server using an Oracle stored procedure and populate an Oracle table with information from the messages. I found the following code on a forum and was able to get it to compile. When I run it, I am getting a timeout message (shown below) connecting to the server. Does anyone have any suggestions as to how to solve the timeout issue? I also saw found some references to grants that may need to be done, but I do not know if they are applicable.
Thanks,
Andrew
-- Timeout message
javax.mail.MessagingException: Connect failed; nested exception is: java.net.ConnectException: connection to xxxmail2 timed out