Click or drag to resize
MimeKit

GroupAddress(Encoding, String, IEnumerableInternetAddress) Constructor

Initialize a new instance of the GroupAddress class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public GroupAddress(
	Encoding encoding,
	string name,
	IEnumerable<InternetAddress> addresses
)

Parameters

encoding  Encoding
The character encoding to be used for encoding the name.
name  String
The name of the group.
addresses  IEnumerableInternetAddress
A list of addresses.
Exceptions
ExceptionCondition
ArgumentNullExceptionencoding is null.
Remarks
Creates a new GroupAddress with the specified name and list of addresses. The specified text encoding is used when encoding the name according to the rules of rfc2047.
See Also