如何在“发送邮件"中添加“回复"和“引用"? [英] How do I add In-Reply-To and References to 'Send mail'?
问题描述
我的功能是在/createReply
存在之前构建的,并且依赖于:
My feature was built before /createReply
existed and relies on:
使用Outlook/Office设置自定义标头365 REST
将References
和In-Reply-To
添加到电子邮件中.这样一来,该应用就可以发送不带Mail.ReadWrite
的电子邮件回复,这比我们需要的访问量要多得多:
to add References
and In-Reply-To
to an email. This allows the app to send email replies w/o requiring Mail.ReadWrite
, which is much more access than we need:
https://docs.microsoft.com/en -us/graph/permissions-reference#mail-permissions
对用户邮件的读写访问权限
Read and write access to user mail
允许该应用创建,阅读,更新和删除用户邮箱中的电子邮件.不包括发送邮件的权限.
Allows the app to create, read, update, and delete email in user mailboxes. Does not include permission to send mail.
现在不再添加这些标题. (我还尝试了无法将"In-Reply-To"参数传递给Microsoft Graph sendMail ,并得出了与作者.
Now those headers no longer get added. (I also tried Cannot pass "In-Reply-To" parameter to Microsoft Graph sendMail and arrived at the same result as the author.)
我是否有办法绕过这种回归而无需请求其他用户许可?谢谢!
Is there a way for me to get around this regression without requesting additional user permission? Thanks!
https://docs.microsoft.com/zh-cn/graph/api/user-sendmail?view=graph-rest-1.0&stabs=http
推荐答案
自2019年10月4日起,Microsoft已发布对其/reply
终结点的更改,该更改现在允许message
:
As of 2019-10-04, Microsoft published changes to their /reply
endpoint which now allows for message
:
https://github.com/microsoftgraph/microsoft-graph-docs /pull/5771
使用message
字段,我应该能够发送不带其他权限的回复.
With the message
field, I should be able to send replies w/o requesting additional permissions.
这篇关于如何在“发送邮件"中添加“回复"和“引用"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!