Click or drag to resize

MailFromDomainRoutingRule Class

Represents a RoutingRule that will verify if the Mail From belongs to a specific domain
Inheritance Hierarchy
SystemObject
  ObservableObjectBase
    SMTPRouter.ModelsRoutingRule
      SMTPRouter.ModelsMailFromDomainRoutingRule

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

The MailFromDomainRoutingRule type exposes the following members.

Constructors
  NameDescription
Public methodMailFromDomainRoutingRule
Initializes a new instance of a MailFromDomainRoutingRule
Public methodMailFromDomainRoutingRule(Int32, String, String)
Initializes a new instance of a MailFromDomainRoutingRule
Top
Properties
  NameDescription
Public propertyDomain
The domain to compare against
Public propertyExecutionSequence
The Priority of the Rule. The lower the number is, the higher the priority is.
(Inherited from RoutingRule.)
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 email sender belongs to the Domain
(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