简体   繁体   English

Outlook Web Add In with Graph API - Is it possible to include current item as an attachment when forwarding/sending an email?

[英]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.

相关问题 用于发送带附件的电子邮件的 GMAIL API - GMAIL API for sending Email with attachment JS / PHP:在Outlook中通过电子邮件撰写和添加附件 - JS/PHP : Email Compose and add attachment in Outlook Office / Outlook Web 使用图形添加 API - 连接到图形 ZDB974238714CA8DE6434A7 - Office / Outlook Web Add in with Graph API - Connect to Graph API without pop up to sign in 有没有办法停止在 outlook web 加载项中上传附件? - Is there a way to stop uploading an attachment in outlook web add-in? 在Outlook加载项中删除附件文件时出错 - Error when removing an attachment file in Outlook add-in 是否可以在 Outlook 插件中向电子邮件的 HTML 正文添加交互性? - Is it possible to add interactivity to the HTML body of the email in an Outlook Addin? 使用官方的Node.js SendGrid API发送电子邮件时,响应JSON中可能出现哪些错误消息? - What are the possible error messages in the response JSON when sending email using the official Node.js SendGrid API? 屏幕快照和Outlook电子邮件附件-Javascript实现 - Screenshot and outlook email attachment - Javascript implementation Office JavaScript API for Outlook-位置更改时如何刷新我的Web加载项? - Office JavaScript API for Outlook - how can I refresh my web add-in when location changes? Outlook 365 Web加载项-邮件项的上下文菜单 - Outlook 365 Web Add-in - Context menu from Mail Item
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM