Skip to content

Instantly share code, notes, and snippets.

@JamesIgoe
Last active October 5, 2018 14:55
Show Gist options
  • Save JamesIgoe/2e6e8cdf63db54d6ae75ccaff9974cbd to your computer and use it in GitHub Desktop.
Save JamesIgoe/2e6e8cdf63db54d6ae75ccaff9974cbd to your computer and use it in GitHub Desktop.
<!-- Rules-based detected entity for right click on spam -->
<ExtensionPoint xsi:type="DetectedEntity">
<Label resid="sendSpamButtonLabel" />
<SourceLocation resid="sendSpamTaskPaneUrl" />
<Rule xsi:type="RuleCollection" Mode="And">
<Rule xsi:type="ItemIs" ItemType="Message" Highlight="All" />
<Rule xsi:type="ItemHasRegularExpressionMatch" RegExName="subjectWithExternal" RegExValue="(\[EXTERNAL\])" PropertyName="Subject" Highlight="All" />
<Rule xsi:type="ItemHasRegularExpressionMatch" RegExName="allText" RegExValue=".*" PropertyName="BodyAsPlaintext" Highlight="All" />
</Rule>
</ExtensionPoint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment