如何从 Outlook Office 附加组件发送电子邮件?
我正在尝试使用 React 构建一个 Outlook 插件。我到处寻找,试图找到使用打开插件的邮箱的东西,以编程方式向指定用户发送电子邮件。
类似于google的命令:
GmailApp.createDraft(e.parameters.address, e.parameters.subject, e.parameters.body, {
htmlBody: e.parameters.body,
name: 'Automatic Sender'
}).send();
Outlook上是否可以使用邮件发送过程?
I am trying to build an outlook add on, using react. I looked everywhere trying to find something that uses the mailbox in which the addon has been opened from, to programmatically send an email to a specified user.
Something similar to the google's command:
GmailApp.createDraft(e.parameters.address, e.parameters.subject, e.parameters.body, {
htmlBody: e.parameters.body,
name: 'Automatic Sender'
}).send();
Is the mail-sending process available on outlook?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Outlook Web 加载项仅在当前选定项目的上下文中工作。
OfficeJS
不提供任何以编程方式创建和发送电子邮件的功能。在 Outlook 加载项中,您可以考虑使用
EWS
,请参阅 从 Outlook 加载项调用 Web 服务以获取更多信息。您还可以查看 Graph API作为一个可能的解决方法。Outlook web add-ins work under the context of currently selected item only.
OfficeJS
doesn't provide anything for creating and sending emails programmatically.In Outlook add-ins you may consider using
EWS
, see Call web services from an Outlook add-in for more information. Also you may take a look at the Graph API as a possible workaround.