|
1 | 1 | ---
|
2 | 2 | title: Handle OnMessageSend and OnAppointmentSend events in your Outlook add-in with Smart Alerts
|
3 | 3 | 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 |
5 | 5 | ms.topic: concept-article
|
6 | 6 | ms.localizationpriority: medium
|
7 | 7 | ---
|
@@ -318,19 +318,16 @@ By default, the **Running Outlook for Simple MAPI Mail Sending** setting is set
|
318 | 318 |
|
319 | 319 | 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).
|
320 | 320 |
|
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: |
322 | 322 |
|
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. |
324 | 325 |
|
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. |
334 | 331 |
|
335 | 332 | ### Limitations to formatting the dialog message using Markdown
|
336 | 333 |
|
|
0 commit comments