Mail Reading using IMAP protocol

Hi Team,

When I am trying to read the mails of id through my JAVA code using IMAP configuration .
I am getting Unknown host exception (error) however when I am providing the proxy configuration of my system in my code I am getting malformed reply From socks server Exception (error).
Any help will be appreciated.

NOTE: We are already reading the mails using POP3 server configuration.But in that we sometimes get "SSl peer shutdown incorrectly " error .

Rajeev Singh

Hi Rajeev,

Are you able to ping/telnet the mail server from the same machine? Please check.