从Angular Add In中获取来自Outlook 365的电子邮件列表
我们如何从Outlook 365中获得Angular插件的离线地址。我能够从单个邮件中获取电子邮件,但要从地址簿中获取所有存储的电子邮件。
代码获取单独的邮件地址
var mail = Office.context.mailbox.item;
console.log(mail.getEntitiesByType(Office.MailboxEnums.EntityType.Address));
How can we get offline addresses in angular plugin from outlook 365. I am able to get email from individual mail, but want to get all stored email from address book.
Code to get individual mail address
var mail = Office.context.mailbox.item;
console.log(mail.getEntitiesByType(Office.MailboxEnums.EntityType.Address));
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Officejs
没有为此提供任何东西。您需要使用ews
(请参阅从Outlook加载项)或Graph api
来调用Web服务,以获取更多信息。该加载项在Outlook中的当前选择的项目下工作,因此要获得的要多于您需要使用图形API 。OfficeJS
doesn't provide anything for that out of the box. You would need to useEWS
(see Call web services from an Outlook add-in) orGraph API
for getting more information. The add-in is working under the currently selected item in Outlook, so to get more than that you need to use Graph API.