Mail |
The MailGroup type exposes the following members.
| Name | Description | |
|---|---|---|
| MailGroup(String) | Creates new empty group. | |
| MailGroup(String, IEnumerableMailAddress) | Creates new MailGroup object. |
| Name | Description | |
|---|---|---|
| Addresses | Gets all mail addresses in this group. | |
| Name |
Gets display name of this emmail address e.g. "John Smith". Can be null.
Please note that two classes inherit from this class - you can use Address or Addresses properties to get email address(es).
Consider using GetMailboxes method to extract MailBox(es) represented by this email address.
(Inherited from MailAddress) |
| Name | Description | |
|---|---|---|
| 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 group.
(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 email group as a string.
(Overrides MailAddressRender) | |
| Render(HeaderRenderMode) |
Encodes and escapes all necessary data and renders this email group as a string.
(Overrides MailAddressRender(HeaderRenderMode)) | |
| ToString |
Returns string containing the Name and all Addresses.
(Overrides ObjectToString) |