'Using on-send add-ins, is it possible to differentiate when a user selects "send" & "send later" within the ItemSend event handler?
https://docs.microsoft.com/en-us/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows
I'm wondering if it's possible to extract timestamp info or any other info indicating if a user pressed "send" or "send later" for a composed message item?
Solution 1:[1]
OfficeJS doesn't provide any property or method for that out of the box. But you can use EWS APIs from your add-in. See Call web services from an Outlook add-in for more information.
You can get an extended property values (for example, PR_DEFERRED_SEND_TIME) using EWS, see How to: Delay sending an email message by using the EWS Managed API 2.0.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Eugene Astafiev |
