diff --git a/docs/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item.md b/docs/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item.md index 13cb092c39..859438cc7a 100644 --- a/docs/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item.md +++ b/docs/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item.md @@ -1,7 +1,7 @@ --- title: Office.context.mailbox.item - preview requirement set description: Outlook Mailbox API preview requirement set version of the Item object model. -ms.date: 11/19/2024 +ms.date: 12/12/2024 ms.localizationpriority: medium --- @@ -184,6 +184,8 @@ ms.localizationpriority: medium | | | [Message Read](/javascript/api/outlook/office.messageread?view=outlook-js-preview&preserve-view=true#outlook-office-messageread-removehandlerasync-member(1)) | [1.7](../requirement-set-1.7/outlook-requirement-set-1.7.md) | | saveAsync([options], callback) | **read/write item** | [Appointment Organizer](/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview&preserve-view=true#outlook-office-appointmentcompose-saveasync-member(1)) | [1.3](../requirement-set-1.3/outlook-requirement-set-1.3.md) | | | | [Message Compose](/javascript/api/outlook/office.messagecompose?view=outlook-js-preview&preserve-view=true#outlook-office-messagecompose-saveasync-member(1)) | [1.3](../requirement-set-1.3/outlook-requirement-set-1.3.md) | +| sendAsync([options], [callback]) | **read/write mailbox** | [Appointment Organizer](/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview&preserve-view=true#outlook-office-appointmentcompose-sendasync-member(1)) | [Preview](../requirement-set-1.3/outlook-requirement-set-1.3.md) | +| | | [Message Compose](/javascript/api/outlook/office.messagecompose?view=outlook-js-preview&preserve-view=true#outlook-office-messagecompose-sendasync-member(1)) | [Preview](../requirement-set-1.14/outlook-requirement-set-1.14.md) | | setSelectedDataAsync(data, [options], callback) | **read/write item** | [Appointment Organizer](/javascript/api/outlook/office.appointmentcompose?view=outlook-js-preview&preserve-view=true#outlook-office-appointmentcompose-setselecteddataasync-member(1)) | [1.2](../requirement-set-1.2/outlook-requirement-set-1.2.md) | | | | [Message Compose](/javascript/api/outlook/office.messagecompose?view=outlook-js-preview&preserve-view=true#outlook-office-messagecompose-setselecteddataasync-member(1)) | [1.2](../requirement-set-1.2/outlook-requirement-set-1.2.md) | diff --git a/docs/requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview.md b/docs/requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview.md index b39435c909..7566eb7597 100644 --- a/docs/requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview.md +++ b/docs/requirement-sets/outlook/preview-requirement-set/outlook-requirement-set-preview.md @@ -1,7 +1,7 @@ --- title: Outlook add-in API preview requirement set description: Features and APIs that are currently in preview for Outlook add-ins. -ms.date: 11/14/2024 +ms.date: 12/12/2024 ms.topic: whats-new ms.localizationpriority: medium --- @@ -101,7 +101,27 @@ Added a new object that represents the properties and methods of a selected mess --- -### Smart Alerts: Format the dialog message using Markdown +### Programmatically send a message or appointment + +#### [Office.context.mailbox.item.sendAsync](office.context.mailbox.item.md#methods) + +Added a new method to programmatically send a message or appointment. For a sample implementation of the `sendAsync` method, see the [Smart Alerts walkthrough](/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough#programmatically-send-the-item-from-the-task-pane-optional-preview). + +**Available in**: Classic Outlook on Windows (Microsoft 365 subscription) + +
+ +--- + +--- + +### Smart Alerts improvements + +#### [Implement the Take Action button in the dialog](/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough#customize-the-text-and-functionality-of-a-button-in-the-dialog-optional) + +Updated the implementation of the `cancelLabel` and `commandId` options of the `event.completed` method. The updated implementation adds a **Take Action** button to the Smart Alerts dialog. + +**Available in**: Classic Outlook on Windows (Microsoft 365 subscription) #### [Office.SmartAlertsEventCompletedOptions.errorMessageMarkdown](/javascript/api/outlook/office.smartalertseventcompletedoptions?view=outlook-js-preview&preserve-view=true#outlook-office-smartalertseventcompletedoptions-errormessagemarkdown-member)