Click or drag to resize
MimeKit

InternetAddress Constructor

Initialize a new instance of the InternetAddress class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
protected InternetAddress(
	Encoding encoding,
	string name
)

Parameters

encoding  Encoding
The character encoding to be used for encoding the name.
name  String
The name of the mailbox or group.
Exceptions
ExceptionCondition
ArgumentNullExceptionencoding is .
Remarks
Initializes the Encoding and Name properties of the internet address.
See Also