0

I have an Add-in created for Outlook Web which adds headers to emails in order to send them securely. It operated both through Task Pane and on the OnSend functionality of Outlook Web.

When pressing the Outlook Send Button (OnSend function), I expect the mail to be sent successfully. What I want to do is get the draft ID in order to send the item using Microsoft Graph API.

When pressing the Outlook Send Button the Office.context.mailbox.item.saveAsync() function fails with :

error: OSF_DDA_Error code: 9021 message: "Connection error occurred while trying to save the item on the server." name: "SaveError"

If I save the draft manually, or it gets automatically saved by Outlook or do the same flow using the Task Pane (opening the add-in through the Apps button), it works correctly.

It is only happening on new emails.

this wasn't happening before and we didn't do any change in this part of the code. It started happening since the 31 January 2025 (I saw that there was an update of the 30th of January). could this be an issue with outlook/office-js, since this wasn't happening before this point of time and we didn't do any changes in the code?

When pressing the Outlook Send Button (OnSend function), I expect the mail to be sent successfully.

3
  • 1
    You should report such issues directly to Office.js team for review https://github.com/OfficeDev/office-js/issues. Nobody over there will help you and provide the answer or debug. Commented Feb 5 at 18:21
  • I already did but I thought of posting it also here to see if anyone else has a similar behaviour or any suggestions/workarounds. Commented Feb 5 at 19:16
  • I see, most likely you will be out of luck over there, too specific, but Microsoft guys on github may help. Commented Feb 5 at 20:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.