Pop3Client没有为雅虎进行身份验证

时间:2013-09-04 13:04:22

标签: vb.net

我正在尝试使用vb.net从Yahoo帐户中检索邮件。我使用openpopup(Pop3)来做到这一点。这是我的代码

Using client As New Pop3Client()<br/>
If client.Connected Then client.Disconnect()<br/>
clientConnect("pop.mail.yahoo.com", 995, true)<br/>
client.Authenticate("Yahoo UserName", "Yahoo Password",AuthenticationMethod.UsernameAndPassword)<br/>
client.Disconnect()<br/>
Return True<br/>
End Using<br/>

我坚持以下问题

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)

我用gmail,hotmail和aol帐户尝试了相同的代码。它工作得很好但不适用于雅虎。当我尝试使用yahoo凭据进行身份验证时,出现以下错误。 “服务器不接受用户凭据”。

请给我解决方案。

1 个答案:

答案 0 :(得分:0)

只是要明确你有Yahoo Plus或他们称之为正确的东西吗?你必须支付雅虎的流行访问费用。如果是那些相同的设置在outlook或thunderbird中工作?

相关问题