Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yahoo mails #41

Open
iyerrama25 opened this issue Mar 5, 2013 · 1 comment
Open

yahoo mails #41

iyerrama25 opened this issue Mar 5, 2013 · 1 comment

Comments

@iyerrama25
Copy link

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!

@smiley22
Copy link
Owner

smiley22 commented Mar 5, 2013

Hi,

any reason you are using yahoo.in instead of yahoo.com? I just tried with "imap.mail.yahoo.com" and it worked fine.

@iyerrama25
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants