Micro Focus Content Manager SDK 9.3
HP.HPTRIM.SDK.OriginEmailCaptureSpamRule Class Reference

The ApiOriginEmailCaptureSpamRule object is a helper class used to store a rule used to detect if an email is spam More...

Public Member Functions

 OriginEmailCaptureSpamRule ()
 Construct an ApiOriginEmailCaptureSpamRule object More...
 

Properties

string HeaderName [get, set]
 Gets or sets the name of the email header that has the value to be checked by the rule More...
 
string MatchingValue [get, set]
 Gets or sets the value to be used to determine if the header value matches this rule More...
 
bool UseRegularExpression [get, set]
 Gets or sets a boolean value indicating if the matching value contains regular expressions More...
 
bool CheckCase [get, set]
 Gets or sets a boolean value indicating if the value check should be case-sensitive More...
 

Detailed Description

The ApiOriginEmailCaptureSpamRule object is a helper class used to store a rule used to detect if an email is spam

Constructor & Destructor Documentation

HP.HPTRIM.SDK.OriginEmailCaptureSpamRule.OriginEmailCaptureSpamRule ( )

Construct an ApiOriginEmailCaptureSpamRule object

Property Documentation

bool HP.HPTRIM.SDK.OriginEmailCaptureSpamRule.CheckCase
getset

Gets or sets a boolean value indicating if the value check should be case-sensitive

string HP.HPTRIM.SDK.OriginEmailCaptureSpamRule.HeaderName
getset

Gets or sets the name of the email header that has the value to be checked by the rule

string HP.HPTRIM.SDK.OriginEmailCaptureSpamRule.MatchingValue
getset

Gets or sets the value to be used to determine if the header value matches this rule

bool HP.HPTRIM.SDK.OriginEmailCaptureSpamRule.UseRegularExpression
getset

Gets or sets a boolean value indicating if the matching value contains regular expressions