HtmlFeatureFilter ClassIpswitch.Messaging.Framework
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

SystemObject
  IMailAPI_NETHtmlFeatureFilter

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public class HtmlFeatureFilter

The HtmlFeatureFilter type exposes the following members.

Constructors

  NameDescription
Public methodHtmlFeatureFilter(RegistryKey)
This constructor accepts a non-null RegistryKey object pointing to the domain registry key to retrieve HTML feature filter settings from.
Public methodHtmlFeatureFilter(String)
This constructor accepts a non-empty string containing the name of the domain to retrieve HTML feature filter settings for.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
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.
Public methodSave
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.

Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyForwardTo
Specifies the email address or mailbox name to send mail to on the ForwardTo and MoveToMailbox settings in MatchAction.
Public propertyMatchAction
Specifies what to do with the scanned email when the number of matches specified by NumToMatch is reached. Uses the MatchActionSettings enum.
Public propertyMatchDeceptiveText
Specifies whether to match deceptive text.
Public propertyMatchDeceptiveUrl
Specifies whether to match deceptive URL's.
Public propertyMatchEmbeddedComments
Specifies whether to match embedded comments.
Public propertyMatchHyperlink
Specifies whether to match hyperlinks.
Public propertyMatchImageTag
Specifies whether to match image tags.
Public propertyMatchInvalidTag
Specifies whether to match invalid tags.
Public propertyMatchMailToHyperlink
Specifies whether to match "mailto:" hyperlinks.
Public propertyMatchNestedTable
Specifies whether to match nested tables.
Public propertyMatchScriptTag
Specifies whether to match script tags.
Public propertyNumberToMatch
Specifies the number of matches before the MatchAction is used.
Public propertyPrefixSubject
Specifies whether to prefix the string specified by PrefixSubjectString to matching mail.
Public propertyPrefixSubjectString
Specifies the string to prefix to matching mail when PrefixSubject is set to true.
Public propertyUse
Specifies whether to enable filters or not. Uses the UseSettings enum.
Top
See Also

Reference