MailReplyAll

Graph Mail — Reply All (MailReplyAll)

Summary

  • Sends a reply to all original recipients of a message.

Graph Endpoint

  • POST /me/messages/{id}/replyAll

Parameters

Required

  • messageId: string — The original message id (alias: id).

Optional

  • comment: string — Text to include with the reply.

  • attachmentIds: number[] — Up to 10 repository attachment IDs. If provided, the system creates a draft reply‑all, uploads the files, then sends it.

Usage (app.businessFunction)

Minimal

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'ReplyAll',
  parameters: {
    messageId: 'AAMkAGI2N...'
  }
})

With comment

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'ReplyAll',
  parameters: {
    id: 'AAMkAGI2N...',
    comment: 'Looping in the full thread.'
  }
})

With attachments

app.businessFunction({
  functionName: 'MicrosoftGraph',
  methodName: 'Mail',
  operation: 'ReplyAll',
  parameters: {
    messageId: 'AAMkAGI2N...',
    attachmentIds: [1012] // up to 10
  }
})

Response

{ "ok": true }

Notes

  • The attachmentIds must point to repository attachments with accessible file data. If external storage is configured and a blob was deleted, re-upload the file or update the attachment.

Last updated

Was this helpful?