Mime4.net Home | Community Edition | Order | Usage examples | Feedback
Mailbox ClassMIME4NET Class Library Documentation
Represents a single e-mail address.
Inheritance Hierarchy

System Object
  NI.Email.Mime.Field.Address Address
    NI.Email.Mime.Field.Address Mailbox
      NI.Email.Mime.Field.Address NamedMailbox

Namespace: NI.Email.Mime.Field.Address
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709
Syntax

public class Mailbox : Address

The Mailbox type exposes the following members.

Constructors

  NameDescription
Public methodMailbox(String)
Initializes a new instance of the Mailbox class
Public methodMailbox(String, String)
Creates a mailbox without a route. Routes are obsolete.
Public methodMailbox(DomainList, String, String)
Creates a mailbox with a route. Routes are obsolete.
Top
Methods

  NameDescription
Public methodAddMailboxesTo
Adds any mailboxes represented by this address into the given ArrayList. Note that this method has default (package) access, so a doAddMailboxesTo method is needed to allow the behavior to be overridden by subclasses.
(Inherited from Address.)
Protected methodDoAddMailboxesTo (Overrides Address DoAddMailboxesTo(ArrayList).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAddressString
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides Object ToString .)
Top
Properties

  NameDescription
Public propertyAddressString
Formats the address as a string, not including the route.
Public propertyDomain
Returns the right part of the e-mail address (after "@").
Public propertyLocalPart
Returns the left part of the e-mail address (before "@").
Public propertyRoute
Returns the route list.
Top
See Also