|
1 | 1 | ---
|
2 | 2 | title: Implement an integrated spam-reporting add-in
|
3 | 3 | description: Learn how to implement an integrated spam-reporting add-in in Outlook.
|
4 |
| -ms.date: 06/17/2025 |
| 4 | +ms.date: 06/18/2025 |
5 | 5 | ms.topic: how-to
|
6 | 6 | ms.localizationpriority: medium
|
7 | 7 | ---
|
@@ -55,7 +55,7 @@ To implement the integrated spam-reporting feature in your add-in, you must conf
|
55 | 55 |
|
56 | 56 | :::image type="content" source="../images/outlook-spam-ribbon-button.png" alt-text="A sample ribbon button of a spam-reporting add-in.":::
|
57 | 57 |
|
58 |
| -- The preprocessing dialog. When a user selects the add-in button, a dialog appears with **Report** and **Don't Report** options. In this dialog, you can share information about the reporting process or implement input options to get information about a reported message. Input options include checkboxes, radio buttons, and a text box. When a user selects **Report** from the dialog, the [SpamReporting](/javascript/api/office/office.eventtype) event is activated and is then handled by the JavaScript event handler. The following is an example of a preprocessing dialog in Outlook on Windows. Note that the appearance of the dialog may vary depending on the platform the user's Outlook client is running on. |
| 58 | +- The preprocessing dialog. When a user selects the add-in button, a dialog appears with **Report** and **Don't Report** options. In this dialog, you can share information about the reporting process or implement input options to get information about a reported message. Input options include checkboxes, radio buttons, and a text box. When a user selects **Report** from the dialog, the [SpamReporting](/javascript/api/office/office.eventtype) event is activated and is then handled by the JavaScript event handler. The following is an example of a preprocessing dialog in classic Outlook on Windows. Note that the appearance of the dialog may vary depending on the platform the user's Outlook client is running on. |
59 | 59 |
|
60 | 60 | :::image type="content" source="../images/outlook-spam-processing-dialog.png" alt-text="A sample preprocessing dialog of a spam-reporting add-in.":::
|
61 | 61 |
|
@@ -418,12 +418,12 @@ For a list of properties you can include in a JSON object to pass as a parameter
|
418 | 418 |
|
419 | 419 | 1. Save your changes.
|
420 | 420 |
|
421 |
| -The following is a sample post-processing dialog shown to the user once the add-in completes processing a reported message in Outlook on Windows. Note that the appearance of the dialog may vary depending on the platform the user's Outlook client is running on. |
| 421 | +The following is a sample post-processing dialog shown to the user once the add-in completes processing a reported message in classic Outlook on Windows. Note that the appearance of the dialog may vary depending on the platform the user's Outlook client is running on. |
422 | 422 |
|
423 | 423 | :::image type="content" source="../images/outlook-spam-post-processing-dialog.png" alt-text="A sample of a post-processing dialog shown once a reported spam message has been processed by the add-in.":::
|
424 | 424 |
|
425 | 425 | > [!TIP]
|
426 |
| -> As you develop a spam-reporting add-in that will run in Outlook on Windows, keep the following in mind. |
| 426 | +> As you develop a spam-reporting add-in that will run in classic Outlook on Windows, keep the following in mind. |
427 | 427 | >
|
428 | 428 | > - Imports aren't currently supported in the JavaScript file that contains the code to handle the spam-reporting event.
|
429 | 429 | > - When the JavaScript function specified in the manifest to handle the `SpamReporting` event runs, code in `Office.onReady()` and `Office.initialize` isn't run. We recommend adding any startup logic needed by the event handler, such as checking the user's Outlook version, to the event handler instead.
|
|
0 commit comments