Click or drag to resize

MailGroup Class

Represents mail address group that consists of a Name and Addresses list.
Inheritance Hierarchy

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

The MailGroup type exposes the following members.

Constructors
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMailboxes
Gets all mailboxes represented by this mail group.
(Overrides MailAddressGetMailboxes.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates 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