[英]Outlook Web Add In with Graph API - Is it possible to include current item as an attachment when forwarding/sending an email?
I want to be able to send my current item as an attachment to another mailbox as an 'Outlook Item'.我希望能够将我当前的项目作为附件发送到另一个邮箱作为“Outlook 项目”。 This would include any attachments attached to my current item.
这将包括附加到我当前项目的任何附件。
I have used the graph API to return my current item in its entirety, but its the forwarding this as an attachment part im struggling with.我已经使用图表 API 完整地返回了我当前的项目,但它作为附件部分转发我正在苦苦挣扎。
Im using this doc as a guide and at Request 3 it touches on attachments, but i havent seen anyone attach an Outlook item as an attachment我使用此文档作为指南,在请求 3 中涉及附件,但我还没有看到有人将 Outlook 项目作为附件附加
https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http
I would rather forward the current item as an attachment as opposed to just forwarding the message body, but im not sure if this is possible?我宁愿将当前项目作为附件转发,而不是仅仅转发邮件正文,但我不确定这是否可能?
Any insight on this is much appreciated.对此的任何见解都非常感谢。 Thanks!
谢谢!
You need to use the ItemAttachment resource type to add the message/event/post as attachment.您需要使用 ItemAttachment 资源类型将消息/事件/帖子添加为附件。 Here's the documentation for it!
这是它的文档!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.