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

602
Visualizações
Microsoft Graph: How to send emails in the same thread, without needing a client's reply first

Is there a way to send an email via Microsoft Graph with references or in-reply-to headers applied?

I've looked at

  • Cannot pass "In-Reply-To" parameter to Microsoft Graph sendMail
  • https://github.com/microsoftgraph/microsoft-graph-docs/issues/6256
  • How do I add In-Reply-To and References to 'Send mail'?

All of these seem to address when replying to a client's response. E.g.) User sends an email to client >> Client sends a reply back >> User sends a reply.

I need a way to thread the emails even if I send them 2 emails back to back. E.g.) User sends an email to client >> User sends a follow up email to client.

Microsoft Graph API's reply endpoints seems to overwrite any toRecipient you pass through, and automatically will send the email to the Sender of the previous email:

Reply to the sender of a message using either JSON or MIME format.

  • https://docs.microsoft.com/en-us/graph/api/message-reply?view=graph-rest-1.0&tabs=http

So if I were to...

From: me@hotmail.com

To: client@gmail.com

  1. Send the initial email via /me/messages/{id}/send
  2. Then immediately send a follow up email via /me/messages/{id}/reply,

It just sends up sending the reply to myself, me@hotmail.com; since Microsoft Graph specifically states that it replies to the sender. In this instance, I'm just replying to my own message.

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

0

The Send message endpoint sends an existing draft message.

The draft message today can be a new message draft, reply draft, reply-all draft, or a forward draft. Refer documentation here.

Being said that, consider filing user voice for your specific ask so it could be considered for future implementations.

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