Click or drag to resize

MailBox Methods

The MailBox type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateWithoutValidation(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.
Public methodStatic memberCreateWithoutValidation(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.
Public methodStatic memberEqualAddresses(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.
Public methodStatic memberEqualAddresses(MailBox, MailBox, AddressComparisionMode) Checks if addresses of two MailBox instances are equal.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMailboxes Gets all mailboxes represented by this mail address.
(Overrides MailAddressGetMailboxes)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRender Encodes and escapes all necessary data and renders this mailbox as a string.
(Overrides MailAddressRender)
Public methodRender(HeaderRenderMode) Encodes and escapes all necessary data and renders this email as a string.
(Overrides MailAddressRender(HeaderRenderMode))
Public methodToString Returns string containing the Name and the Address.
(Overrides ObjectToString)
Top
See Also