我需要在outlook web addin中区分企业和office365电子邮件 .

我正在尝试使用电子邮件提供程序类型执行相同操作 . 但是,根据office documentation,Office.context.mailbox.userProfile中的AccountType仅在Outlook 2016 for Mac,build 16.9.1212及更高版本中受支持 .

有没有其他方法可以区分这两种电子邮件类型?或者获取mac和Windows中旧的本机电子邮件客户端的提供者类型?我可以以任何方式在office.context.mailbox中使用ews url吗?