如何避免认证失败的异常 [英] how to avoid authentication failed exception

查看:110
本文介绍了如何避免认证失败的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用带有pop3和imap协议的javamail从rediff和yahoo中读取邮件..但是我没有得到结果..它显示了身份验证失败错误..如何在从rediff和yahoo中获取邮件时如何避免身份验证失败错误..

i tried read mail from rediff and yahoo using javamail with pop3 and imap protocols..but i didnt get result..it shows authentication faild error..how to avoid authentication failed error while fetching mail from rediff and yahoo..

推荐答案

您需要启用它.检查链接以获取有关如何针对yahoo进行操作的说明.
http://www .khimhoe.net/2011/06/11/how-to-enable-pop3-in-the-new-yahoo-mail-updated-11june2011/ [
You need to enable it. Check the link for instructions how to do it for yahoo.
http://www.khimhoe.net/2011/06/11/how-to-enable-pop3-in-the-new-yahoo-mail-updated-11june2011/[^]

Good luck!


您可能还需要阅读以下内容:

http://java.sun.com/developer/onlineTraining/JavaMail/contents.html [ ^ ]

并使用 HMail服务器 [
you might also want to read this:

http://java.sun.com/developer/onlineTraining/JavaMail/contents.html[^]

and use HMail Server[^] locally for testing. Be aware - that one has by default also a "ban" function that locks you out after some attempts.


这篇关于如何避免认证失败的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆