Office Add-in Outlook API attach document using displayNewMessageForm method issue

扶醉桌前 提交于 2019-12-04 17:48:16

According to documentation on displayNewMessageForm there are currently two attachment types are supported. To attach file to the item the attachment object should looks like ...

{
    type: 'file',
    name: 'image.png',
    url: 'http://contoso.com/image.png',
    isInline: true
}

To attach the item from existing message the object should looks ...

{
    type: 'item',
    name: 'image.png',
    itemId: 'ews_item_id_goes_here'
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!