使用OAuth2在Office 365中进行IMAP身份验证 [英] IMAP auth in Office 365 using OAuth2

查看:445
本文介绍了使用OAuth2在Office 365中进行IMAP身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在程序中使用了IMAP客户端.我正在尝试使用OAuth2机制通过IMAP客户端访问Office 365 Outlook(使用

I'm using an IMAP client in my program. I'm trying to access to Office 365 outlook by IMAP client using OAuth2 mechanism (using these instructions.)

当我在IMAP客户端中进行身份验证时-身份验证失败,但是Google和Outlook.com的OAuth2身份验证工作正常. Office 365是否在IMAP中支持OAuth2身份验证?如果可以,该如何进行身份验证?

When I authenticate in IMAP client - authentication failes, but OAuth2 authentication of Google and Outlook.com works fine. Does Office 365 support OAuth2 authentication in IMAP? If it does, how to authenticate?

推荐答案

我们不支持OAuth进行对Office 365的IMAP访问,并且我们尚无计划,因为我们建议使用REST API连接到Office 365,您的应用. 用于邮件,日历和联系人的Office 365 REST API 支持OAuth,并且我们较旧的SOAP API Exchange Web服务.

We don't support OAuth for IMAP access to Office 365 and we have no plans to do so as we recommend using our REST APIs to connect to Office 365 for your apps. OAuth is supported for Office 365 REST APIs for mail, calendar and contacts and our older SOAP APIs Exchange Web Services.

这篇关于使用OAuth2在Office 365中进行IMAP身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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