ReportPhishingCustomization 元素 (预览)

配置 Outlook 中垃圾邮件报告加载项的功能区按钮和预处理对话框。

若要详细了解如何在外接程序中实现垃圾邮件报告功能,请参阅 实现集成的垃圾邮件报告加载项 (预览版)

加载项类型:邮件

仅在以下 VersionOverrides 架构中有效

  • 邮件 1.1

有关详细信息,请参阅 清单中的版本替代

与以下要求集关联

包含于

Attributes

无。

子元素

元素 必需 说明
Control 配置加载项按钮并将其添加到功能区。 xsi:type 属性必须设置为 Button ,其 <Action> 子元素的 xsi:type 属性必须设置为 ExecuteFunction
PreProcessingDialog (预览版) 配置从功能区选择加载项按钮后显示的预处理对话框。 此对话框允许用户提供有关他们正在报告的消息的其他信息。
SourceLocation 元素 (版本替代) 指定源 JavaScript 文件的位置。

示例

<ExtensionPoint xsi:type="ReportPhishingCommandSurface">
  <ReportPhishingCustomization>
    <!-- Configures the ribbon button. -->
    <Control xsi:type="Button" id="ReportingButton">
      <Label resid="ReportingButton.Label"/>
      <Supertip>
        <Title resid="ReportingButton.Label"/>
        <Description resid="ReportingButton.Description"/>
      </Supertip>
      <Icon>
        <bt:Image size="16" resid="Icon.16x16"/>
        <bt:Image size="32" resid="Icon.32x32"/>
        <bt:Image size="64" resid="Icon.64x64"/>
        <bt:Image size="80" resid="Icon.80x80"/>
      </Icon>
      <Action xsi:type="ExecuteFunction">
        <FunctionName>onMessageReport</FunctionName>
      </Action>
    </Control>
    <!-- Configures the preprocessing dialog. -->
    <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>
    <SourceLocation resid="Commands.Url"/>
  </ReportPhishingCustomization>
</ExtensionPoint>