0
votes

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?

1
To confirm, based on your description, are you trying this with Outlook on the web? In Outlook for Windows, a similar feature is "Delay Delivery", and OfficeJS doesn't provider property out of the box. The on-send add-in runs when user selects 'send' - Outlook Add-ins Team - MSFT
Could you also tell more about the scenario where you want to differentiate between "send" & "send later"? - Outlook Add-ins Team - MSFT

1 Answers

0
votes

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.