Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

237
Visualizações
Fetch Email Headers (Raw) Using Office.js API

I have build an Outlook OWA Add-In which is for both web and desktop application. There is a module where I have used "Office.context.mailbox.item.getAllInternetHeadersAsync()" to fetch headers of the mail which works perfectly on web version of outlook but when the same Add-In is loaded on the desktop version the code breaks because of mailbox version(1.4 or <1.8) compatiblity. As "getAllInternetHeadersAsync" is availble from mailbox version 1.8.

Refer - https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.4/office.context.mailbox.item

Is there any way that I can use to fetch the mail headers using Office.js javascript API? Other than Graph API, Office365 API or any other REST API.

Any help will be deeply appreciated. Thanks in advance.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The internetHeaders API for the Desktop client was introduced in requirement set 1.8. This means that all clients that support a requirement set <= 1.7 cannot use this API. The only solution here is to upgrade to a newer client.

If you want to use REST/Graph APIs to retrieve the internet headers of a received message, you can do that by adding the $select=internetMessageHeaders query to your REST call for fetching the message. See example 2 on this documentation page : https://docs.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=http#examples

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda