• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class GroupAddress

A group address (RFC 5322 §3.4), consisting of a display name and a list of mailbox members (e.g. Friends: alice@example.com, bob@example.com;).

Inheritance
object
InternetAddress
GroupAddress
Inherited Members
InternetAddress.Name
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Mime
Assembly: DRIT.Mail.dll
Syntax
public sealed class GroupAddress : InternetAddress

Constructors

View Source

GroupAddress(string?)

Initializes a new instance of the GroupAddress class.

Declaration
public GroupAddress(string? name)
Parameters
Type Name Description
string name

Specifies the name value.

Properties

View Source

Members

Gets the mailbox members of this group.

Declaration
public IReadOnlyList<MailboxAddress> Members { get; }
Property Value
Type Description
IReadOnlyList<MailboxAddress>

Methods

View Source

Add(MailboxAddress)

Adds a mailbox to this group.

Declaration
public void Add(MailboxAddress mailbox)
Parameters
Type Name Description
MailboxAddress mailbox

Specifies the mailbox value.

View Source

ToString()

Processes the to string data.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
InternetAddress.ToString()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX