ReportingOptions element

Specifies the reporting options listed in the preprocessing dialog of a spam-reporting add-in in Outlook.

To learn more about how to implement the spam reporting feature in your add-in, see Implement an integrated spam-reporting add-in.

Add-in type: Mail

Valid only in these VersionOverrides schemas:

  • Mail 1.1

For more information, see Version overrides in the add-in only manifest.

Associated with these requirement sets:

Contained in

Attributes

Attribute Required Description
inputType (preview)* No Specifies the input type of the reporting options in the preprocessing dialog. If the inputType attribute isn't included, the reporting options appear as checkboxes. To use radio buttons, set the inputType attribute to Radio. You can only use one input type in the dialog.

* The inputType attribute is currently in preview in Outlook on the web and on Windows (new and classic). To preview this feature in classic Outlook on Windows, install Version 2411 (Build 18227.20034) or later. Then, join the Microsoft 365 Insider program and select the Beta Channel option.

Child elements

Element Required Description
Title Yes Specifies a custom title for the reporting options in the preprocessing dialog. Its resid attribute must be set to the value of the id attribute of a String in the ShortStrings element under the Resources element.
Option Yes Specifies a custom option that a user can select from the preprocessing dialog to provide a reason for reporting a message. You can add up to five options, but must specify at least one option.

Example

<PreProcessingDialog>
  ...
  <ReportingOptions>
    <Title resid="OptionsTitle.Label"/>
    <Option resid="Option1.Label"/>
    <Option resid="Option2.Label"/>
    <Option resid="Option3.Label"/>
    <Option resid="Option4.Label"/>
  </ReportingOptions>
  ...
</PreProcessingDialog>