Sandun Tharaka
Sandun Tharaka

Reputation: 747

Office JS get reply / forward state and add a Tag in to mail item

How do I get the reply/forward state from office JS and according to the state shows tag in email in left pane ?

A tag, similar to the blue and red ones appearing in this image, would appear labeling whether the email has been replied to or not. enter image description here

Upvotes: 1

Views: 368

Answers (1)

user7823505
user7823505

Reputation:

Answering for Outlook addins, I see this as 3 parts.

  1. API to set category is available. See: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/categories
  2. JS API to check reply/forward state is not available for read scenario. You can try graph for this check.
  3. It is not possible to run the code without user action.

We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.

https://officespdev.uservoice.com/forums/224641-general/category/131778-outlook-add-ins

Upvotes: 2

Related Questions