阅读来自mail.Yahoo.com的电子邮件 [英] Read emails from mail.Yahoo.com

查看:77
本文介绍了阅读来自mail.Yahoo.com的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用C#从雅虎帐户中读取电子邮件。我有所有有效的凭据。我正在使用IMAP,但当我尝试阅读电子邮件时,它说不允许访问服务。我必须在没有Yahoo! Plus帐户的情况下阅读来自雅虎的电子邮件,而不是gmail或hotmail等。我使用imap.mail.yahoo.com作为imap服务器,993端口和SSL。

I want to read the Emails from a Yahoo account using C#. I have all the valid credentials. I am using IMAP, but when I try to read the Emails it says "access to the service is not permitted". I have to read the Emails from Yahoo only without "Yahoo! Plus" account, not gmail or hotmail etc. I am using "imap.mail.yahoo.com" as imap server, 993 port and SSL.

推荐答案

建议你看一下开源IMap X2工具:这里的源代码包含有关访问Yahoo Mail的注释:[ ^ ]



当你说拥有所有有效凭证时,是否包括你在YDN注册,并获得消费者和秘密密钥?



注意Yahoo邮件工具现在使用OAuth获取访问权限,但是,访问Yahoo!用户的邮件帐户的推荐身份验证方法是OAuth。虽然您仍然可以使用基于浏览器的身份验证(BBAuth)API,但它已被弃用。



Yahoo OAuth:[ ^ ]



CP上有关于使用OAuth的文章。
Suggest you take a look at the open-source IMap X2 facility: there's source code here with annotation about accessing Yahoo Mail: [^]

When you say have all the valid credentials, does that include your registering with YDN, and getting both consumer, and secret, keys ?

Note that Yahoo mail facility now uses OAuth for access permission, but, "The recommended authentication method for access to a Yahoo! user's mail account is OAuth. While you may still use the Browser Based Authentication (BBAuth) API, it has been deprecated."

Yahoo OAuth: [^]

There are articles here on CP that talk about using OAuth.


这篇关于阅读来自mail.Yahoo.com的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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