I am trying to get all unread message from my mailbox using IMAP and POP3. Both are not working for me.After running 5 to 6 minutes its throw an error like POP3/IMAP server has unexpectedly disconnected.
But i am using same server and port address for send SMTP it works properly.