Open iyerrama25 opened 11 years ago
Hi,
any reason you are using yahoo.in instead of yahoo.com? I just tried with "imap.mail.yahoo.com" and it worked fine.
Well, I just tried with .com and it worked fine, during registration yahoo redirected me to its indian server, thus it came up as abc@yahoo.in instread of .com. btw, in case the user ID or passwd is wrong, it goes into InvalidCrediantials Unhandled, how can I give a prompt to the user informing him that the entered userID or passwd is wrong instead of showing an exception?
I tried using your code to retrieve mails from yahoo.com but am getting : SocketException Unhandled, which usually happens when the entered ID or passwd is wrong.
using (ImapClient Client = new ImapClient("imap.mail.yahoo.in", 993, "user", "passwd", AuthMethod.Login, true))
could you please find a solution for it?
thanks!