A Mailbox that has a name/description.
Inheritance Hierarchy
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
The NamedMailbox type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NamedMailbox(String, Mailbox) |
Creates a named mailbox based on an unnamed mailbox.
| |
NamedMailbox(String, String) | Initializes a new instance of the NamedMailbox class | |
NamedMailbox(String, String, String) | Initializes a new instance of the NamedMailbox class | |
NamedMailbox(String, DomainList, String, String) | Initializes a new instance of the NamedMailbox class |
Methods
Name | Description | |
---|---|---|
AddMailboxesTo |
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.) | |
DoAddMailboxesTo | (Inherited from Mailbox.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAddressString |
Same features (or problems) as Mailbox.getAddressString(bool),
only more so.
[!:AddressString] (Overrides Mailbox GetAddressString(Boolean).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Mailbox.) |
Properties
Name | Description | |
---|---|---|
AddressString |
Formats the address as a string, not including
the route.
(Inherited from Mailbox.) | |
Domain |
Returns the right part of the e-mail address
(after "@").
(Inherited from Mailbox.) | |
LocalPart |
Returns the left part of the e-mail address
(before "@").
(Inherited from Mailbox.) | |
Name |
Returns the name of the mailbox.
| |
Route |
Returns the route list.
(Inherited from Mailbox.) |
See Also