Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to retrieve mails from Yahoo account using vb.net. I have used openpopup (Pop3) to do that. Here is my code
Using client As New Pop3Client()
               If client.Connected Then client.Disconnect()
               clientConnect("pop.mail.yahoo.com", 995, true)
               client.Authenticate("Yahoo UserName", "Yahoo Password",AuthenticationMethod.UsernameAndPassword)
               client.Disconnect()
               Return True
         End Using


I am stuck up with the follwoing problem "The server did not accept user credentials while authenticating it, but I am sure that the credentials are correct (I can connect the server with this credentials)

I tried the same code with my gmail, hotmail and aol accounts. It works fine but not for Yahoo. When i try to authenticate with yahoo credentials, I got the following error.
"Server did not accept user credentials". Please give me the solution for this
Posted
Updated 4-Sep-13 6:30am
v2

1 solution

Are you paying for Yahoo Mail Plus? You cannot use POP3 access to Yahoo Mail unless you have Yahoo Mail Plus. See Yahoo Mail Plus[^]

You can use IMAP access without paying for Yahoo Mail Plus.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900