Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Office.context.mailbox.item.internetHeaders.setAsync fails on Classic UI when replying/forwarding .eml file #5099

Open
AtharvaDevSeclore opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback

Comments

@AtharvaDevSeclore
Copy link

Office.context.mailbox.item.internetHeaders.setAsync fails on Classic UI when replying/forwarding .eml file

Your Environment

  • Platform: Mac
  • Host: Outlook 16.91

Expected behavior

Office.context.mailbox.item.internetHeaders.setAsync should be successful

Steps to reproduce

  1. compose a mail
  2. click on file -> save as and save the mail on the device as savedMail.eml
  3. open the folder containing savedMail.eml
  4. ctrl+click on savedMail.eml and open in outlook
  5. reply/forward mail
  6. open inspect element window
  7. try to set internet headers
Office.context.mailbox.item.internetHeaders.setAsync(
  { "preferred-fruit": "orange", "preferred-vegetable": "broccoli", "best-vegetable": "spinach" },
  function (asyncResult) {
    if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
      console.log("Successfully set headers");
    } else {
      console.log("Error setting headers: " + JSON.stringify(asyncResult.error));
    }
  }

Current behavior

Office.context.mailbox.item.internetHeaders.setAsync fails on classic UI with error code 5001

Provide additional details

I observed this issue only in classic UI. modern UI is working as expected

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Nov 15, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Nov 15, 2024
@exextoc exextoc self-assigned this Nov 15, 2024
@mobisw-msft
Copy link

Hey @AtharvaDevSeclore ,

We are investigating this issue and will get back to you shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback
Projects
None yet
Development

No branches or pull requests

3 participants