PreProcessingDialog element
Configures the preprocessing dialog of a spam-reporting add-in in Outlook, so that users can provide additional information about the message they're reporting.
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
None.
Child elements
Element | Required | Description |
---|---|---|
Title | Yes | Specifies the custom title of 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. |
Description | Yes | Specifies the custom text that appears in the preprocessing dialog. Its resid attribute must be set to the value of the id attribute of a String in the LongStrings element under the Resources element. |
ReportingOptions | No | Lists up to five options a user can select from the preprocessing dialog to provide a reason for reporting a message. |
FreeTextLabel | No | Adds a text box to the preprocessing dialog to allow users to provide additional information on the message they're reporting. Its resid attribute sets the title of the text box. The resid attribute must be set to the value of the id attribute of a String in the ShortStrings element under the Resources element. |
MoreInfo | No | Specifies the custom text and URL to provide informational resources to the users. The custom text and URL configured in this element appear below the text provided in the <Description> element. |
Example
<PreProcessingDialog>
<Title resid="PreProcessingDialog.Label"/>
<Description resid="PreProcessingDialog.Description"/>
<ReportingOptions>
<Title resid="OptionsTitle.Label"/>
<Option resid="Option1.Label"/>
<Option resid="Option2.Label"/>
<Option resid="Option3.Label"/>
<Option resid="Option4.Label"/>
</ReportingOptions>
<FreeTextLabel resid="FreeText.Label"/>
<MoreInfo>
<MoreInfoText resid="MoreInfo.Label"/>
<MoreInfoUrl resid="MoreInfo.Url"/>
</MoreInfo>
</PreProcessingDialog>
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins