Click or drag to resize

MailGroup Class

Represents mail address group that consists of a Name and Addresses list.
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.HeadersMailAddress
    Limilabs.Mail.HeadersMailGroup

Namespace: Limilabs.Mail.Headers
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
[SerializableAttribute]
public class MailGroup : MailAddress

The MailGroup type exposes the following members.

Constructors
 NameDescription
Public methodMailGroup(String) Creates new empty group.
Public methodMailGroup(String, IEnumerableMailAddress) Creates new MailGroup object.
Top
Properties
 NameDescription
Public propertyAddresses Gets all mail addresses in this group.
Public propertyName 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)
Top
Methods
 NameDescription
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 group.
(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 email group as a string.
(Overrides MailAddressRender)
Public methodRender(HeaderRenderMode) Encodes and escapes all necessary data and renders this email group as a string.
(Overrides MailAddressRender(HeaderRenderMode))
Public methodToString Returns string containing the Name and all Addresses.
(Overrides ObjectToString)
Top
See Also