Skip to content

Commit f5c625d

Browse files
[Outlook] (Smart Alerts) Correct OnAppointmentSend behavior (#5298)
* Correct OnAppointmentSend behavior in Outlook on the web and the new Outlook on Windows * Reword * Apply suggestion
1 parent df4666b commit f5c625d

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

docs/outlook/onmessagesend-onappointmentsend-events.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Handle OnMessageSend and OnAppointmentSend events in your Outlook add-in with Smart Alerts
33
description: Learn about the Smart Alerts implementation and how it handles the OnMessageSend and OnAppointmentSend events in your event-based Outlook add-in.
4-
ms.date: 07/22/2025
4+
ms.date: 07/31/2025
55
ms.topic: concept-article
66
ms.localizationpriority: medium
77
---
@@ -318,19 +318,16 @@ By default, the **Running Outlook for Simple MAPI Mail Sending** setting is set
318318

319319
Because the `OnMessageSend` and `OnAppointmentSend` events are supported through the event-based activation feature, the same feature limitations apply to add-ins that activate as a result of these events. For a description of these limitations, see [Event-based activation behavior and limitations](../develop/event-based-activation.md#behavior-and-limitations).
320320

321-
In addition to these constraints, only one instance each of the `OnMessageSend` and `OnAppointmentSend` event can be declared in the manifest. If you require multiple `OnMessageSend` or `OnAppointmentSend` events, you must declare each one in a separate add-in.
321+
In addition to these constraints, be mindful of the following:
322322

323-
The Smart Alerts dialog message must be 500 characters or less. While you can change the message and certain aspects of a button in the Smart Alerts dialog, the following can't be customized.
323+
- Only one instance each of the `OnMessageSend` and `OnAppointmentSend` event can be declared in the manifest. If you require multiple `OnMessageSend` or `OnAppointmentSend` events, you must declare each one in a separate add-in.
324+
- The Smart Alerts dialog message must be 500 characters or less. While you can change the message and certain aspects of a button in the Smart Alerts dialog, the following can't be customized.
324325

325-
- The dialog's title bar. Your add-in's name is always displayed there.
326-
- The font or color of the dialog message. However, you can use Markdown to format certain elements of your message. For a list of supported elements, see [Limitations to formatting the dialog message using Markdown](#limitations-to-formatting-the-dialog-message-using-markdown).
327-
- The icon next to the dialog message.
328-
- Dialogs that provide information on event processing and progress. For example, the text and options that appear in the timeout and long-running operation dialogs can't be changed.
329-
330-
In Outlook on the web and in new Outlook on Windows:
331-
332-
- The `OnAppointmentSend` event only occurs when the meeting being sent was created through the **New Event** option. If the meeting being sent was created by selecting a date and time directly from the calendar, the `OnAppointmentSend` event doesn't occur.
333-
- When forwarding a meeting, the `OnAppointmentSend` event only occurs if the organizer forwards the meeting. It doesn't occur if an attendee forwards the meeting to which they're invited.
326+
- The dialog's title bar. Your add-in's name is always displayed there.
327+
- The font or color of the dialog message. However, you can use Markdown to format certain elements of your message. For a list of supported elements, see [Limitations to formatting the dialog message using Markdown](#limitations-to-formatting-the-dialog-message-using-markdown).
328+
- The icon next to the dialog message.
329+
- Dialogs that provide information on event processing and progress. For example, the text and options that appear in the timeout and long-running operation dialogs can't be changed.
330+
- In Outlook on the web and in new Outlook on Windows, the `OnAppointmentSend` event only occurs when a meeting is sent from a separate window. The event doesn't occur when a meeting is sent from an embedded meeting form or when a meeting is forwarded.
334331

335332
### Limitations to formatting the dialog message using Markdown
336333

0 commit comments

Comments
 (0)