Md. Mohibur Rahman
Md. Mohibur Rahman

Reputation: 45

Outlook New Web Based Add-ins: How to retrieve original email/item ID staying on the reply/forward composing tab?

I am building an outlook web based addin.

Suppose I setup OnMessageCompose event which will trigger messageCompose() function when reply/reply all/forward button will be clicked. Now

  1. select an email from inbox and click on reply/reply all/ forward.
  2. It will open the compose window.
  3. Also it will catch the event of OnMessageCompose.
  4. In the messageCompose function I need the item ID of the selected email/original email not the currently replying email.

How can I get the itemID for the original email to which I am replying? Are there any properties, or methods of OfficeJS or Microsoft Graph API? Or is there any tricks to achieve this?

I found **conversationId **to retrive the the mail chain, but I want specifically that one email which i am replying to, not the whole email thread.

Also the same Question(Q. link) was asked for VSTO but my addin is outlook web based addin.

Upvotes: 1

Views: 162

Answers (1)

WITWAY
WITWAY

Reputation: 1

If I read your question correctly, this new capability announced at Build 2024 may be what you are looking for.

Upvotes: 0

Related Questions