Mime4.net Home | Community Edition | Order | Usage examples | Feedback
NamedMailbox ClassMIME4NET Class Library Documentation
A Mailbox that has a name/description.
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 NamedMailbox : Mailbox

The NamedMailbox type exposes the following members.

Constructors

  NameDescription
Public methodNamedMailbox(String, Mailbox)
Creates a named mailbox based on an unnamed mailbox.
Public methodNamedMailbox(String, String)
Initializes a new instance of the NamedMailbox class
Public methodNamedMailbox(String, String, String)
Initializes a new instance of the NamedMailbox class
Public methodNamedMailbox(String, DomainList, String, String)
Initializes a new instance of the NamedMailbox class
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 (Inherited from Mailbox.)
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
Same features (or problems) as Mailbox.getAddressString(bool), only more so. [!:AddressString]
(Overrides Mailbox GetAddressString(Boolean).)
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 (Inherited from Mailbox.)
Top
Properties

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