Click or drag to resize

MailFromRegexMatchRoutingRule Class

Represents a RoutingRule that will apply a Regular Expression against the Mail From of the message
Inheritance Hierarchy
SystemObject
  ObservableObjectBase
    SMTPRouter.ModelsRoutingRule
      SMTPRouter.ModelsMailFromRegexMatchRoutingRule

Namespace:  SMTPRouter.Models
Assembly:  SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntax
public sealed class MailFromRegexMatchRoutingRule : RoutingRule

The MailFromRegexMatchRoutingRule type exposes the following members.

Constructors
  NameDescription
Public methodMailFromRegexMatchRoutingRule
Initializes a new instance of a MailFromRegexMatchRoutingRule
Public methodMailFromRegexMatchRoutingRule(Int32, String, String)
Initializes a new instance of a MailFromRegexMatchRoutingRule
Top
Properties
  NameDescription
Public propertyExecutionSequence
The Priority of the Rule. The lower the number is, the higher the priority is.
(Inherited from RoutingRule.)
Public propertyRegexExpression
The Regular Expression to run
Public propertySmtpConfigurationKey
The Smtp Configuration Key
(Inherited from RoutingRule.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMatch
Checks if the Regular Expression defined on RegexExpression is valid. The comparison happens against the mail from.
(Overrides RoutingRuleMatch(MimeMessage).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from ObservableObjectBase.)
Top
See Also