MailAddress Constructor (String, String, Encoding, Boolean)

Initializes a new instance of the MailAddress class.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public MailAddress(
	string address,
	string displayName,
	Encoding displayNameEncoding,
	bool ignoreSmtpCheck
)

Parameters

address
Type: SystemString
The mail address.
displayName
Type: SystemString
The display name.
displayNameEncoding
Type: System.TextEncoding
The display name encoding.
ignoreSmtpCheck
Type: SystemBoolean
if set to true then SMTP check will be omitted.
See Also