我正在使用office api创建草稿并发送电子邮件 . 一旦发送电子邮件,它就会被发送,我看到发送文件夹中的电子邮件 . 但我也在草稿文件夹中看到了同样的电子邮件 . 我需要手动删除草稿文件夹中的电子邮件,或者如果我退出Outlook并重新打开,则会从草稿文件夹中删除该电子邮件 . 我相信这是Outlook for Mac中的缓存问题 . 请帮忙

这是他用来保存草稿和发送电子邮件的API . Office.context.mailbox.item.saveAsync() Office.context.mailbox.makeEwsRequestAsync()

这是我用来发送电子邮件的SOAP负载

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2013" />
  </soap:Header>
  <soap:Body>
    <SendItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
        SaveItemToFolder="true">
      <ItemIds>
        <t:ItemId Id="${itemData.id}" ChangeKey="${itemData.changeKey}" />
      </ItemIds>
      <SavedItemFolderId>
        <t:DistinguishedFolderId Id="sentitems" />
      </SavedItemFolderId>
    </SendItem>
  </soap:Body>
</soap:Envelope>;