MailBox Methods |
The MailBox type exposes the following members.
Name | Description | |
---|---|---|
CreateWithoutValidation(String) |
Creates new MailBox object using specified email address and no display name.
This method in contrast to MailBox(String) constructor doesn't perform any kind of address validation.
| |
CreateWithoutValidation(String, String) |
Creates new MailBox object using specified email address and display name.
This method in contrast to MailBox(String, String) constructor doesn't perform any kind of address validation.
| |
EqualAddresses(MailBox, MailBox) |
Checks if addresses of two MailBox instances are equal.
LocalParts are compared using case sensitive comparison and DomainParts are compared using case insensitive comparison.
| |
EqualAddresses(MailBox, MailBox, AddressComparisionMode) |
Checks if addresses of two MailBox instances are equal.
| |
Equals | Determines whether the specified object is equal to the current object. (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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMailboxes |
Gets all mailboxes represented by this mail address.
(Overrides MailAddressGetMailboxes.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Render |
Encodes and escapes all necessary data and renders this mailbox as a string.
(Overrides MailAddressRender.) | |
Render(HeaderRenderMode) |
Encodes and escapes all necessary data and renders this email as a string.
(Overrides MailAddressRender(HeaderRenderMode).) | |
ToString | (Overrides ObjectToString.) |