Reputation: 1792
The OnNewMessageCompose event is fired On composing a new message (includes reply, reply all, and forward)...
We would want to do some custom modification in an add-in ...when the automatic reply setting is clicked to set ooo message.
Or
It would be helpful to have a onAutomaticReplySet event just like the others in https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch#supported-events
Please let us know if there exists an alternative to it via add-ins or com add-ins or office.js etc
Upvotes: 0
Views: 108
Reputation: 5036
We don't support that event as part of our Launch Events extension point. You can submit an idea here.
Upvotes: 0
Reputation: 49395
when the automatic reply setting is clicked to set ooo message
OfficeJS
doesn't provide anything for that. The best what you could do is to check the properties set during the onSend
callback. Also you may consider using Graph API to fill the gap with add-in features and events.
Feature requests on Tech Community are considered, when the dev team go through the planning process. Use the github label: “Type: product feature request” at https://aka.ms/M365dev-suggestions .
Upvotes: 1