HtmlFeatureFilter is a domain-level setting that determines what HTML filters are matched,
how many are matched and and how they are treated when matched.
Inheritance Hierarchy
IMailAPI_NETHtmlFeatureFilter
Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax
The HtmlFeatureFilter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| HtmlFeatureFilter(RegistryKey) |
This constructor accepts a non-null RegistryKey object pointing to the domain registry key to retrieve
HTML feature filter settings from.
| |
| HtmlFeatureFilter(String) |
This constructor accepts a non-empty string containing the name of the domain to retrieve HTML feature
filter settings for.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Load |
Load() is called by all constructors, and populates object properties from the specified domain's registry
key. Calling Load() outside of the constructor effectively "resets" the properties to their original value.
NOTE: This method throws an exception that must be caught.
| |
| Save |
Saves changes made in the HtmlFeatureFilter object back to the appropriate domain.
NOTE: If you instantiate an HtmlFeatureFilter object on a domain that does not have associated registry
settings for HTML feature filters, and then save, those registry settings will be created.
NOTE: This method throws an exception that must be caught.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ForwardTo |
Specifies the email address or mailbox name to send mail to on the ForwardTo and
MoveToMailbox settings in MatchAction.
| |
| MatchAction |
Specifies what to do with the scanned email when the number of matches specified by
NumToMatch is reached.
Uses the MatchActionSettings enum.
| |
| MatchDeceptiveText |
Specifies whether to match deceptive text.
| |
| MatchDeceptiveUrl |
Specifies whether to match deceptive URL's.
| |
| MatchEmbeddedComments |
Specifies whether to match embedded comments.
| |
| MatchHyperlink |
Specifies whether to match hyperlinks.
| |
| MatchImageTag |
Specifies whether to match image tags.
| |
| MatchInvalidTag |
Specifies whether to match invalid tags.
| |
| MatchMailToHyperlink |
Specifies whether to match "mailto:" hyperlinks.
| |
| MatchNestedTable |
Specifies whether to match nested tables.
| |
| MatchScriptTag |
Specifies whether to match script tags.
| |
| NumberToMatch |
Specifies the number of matches before the MatchAction is used.
| |
| PrefixSubject |
Specifies whether to prefix the string specified by PrefixSubjectString to matching mail.
| |
| PrefixSubjectString |
Specifies the string to prefix to matching mail when PrefixSubject is set to true.
| |
| Use |
Specifies whether to enable filters or not.
Uses the UseSettings enum.
|
See Also