DotNetOpenMail 0.5.7 (beta)

EmailAddress Constructor (String, String, EncodingType, Encoding)

Create an character-encoded instance of an email address object.

[Visual Basic]
Public Sub New( _ 
   ByVal email As String, _ 
   ByVal name As String, _ 
   ByVal encodingtype As EncodingType, _ 
   ByVal charset As Encoding _ 
)
[C#]
public EmailAddress(
   string email,
   string name,
   EncodingType encodingtype,
   Encoding charset
);
[C++]
public: EmailAddress(
   String* email,
   String* name,
   EncodingType encodingtype,
   Encoding* charset
);
[JScript]
public function EmailAddress(
   String email,
   String name,
   EncodingType encodingtype,
   Encoding charset
);

Parameters

email
The address portion of the email
name
The name portion of the email.
encodingtype
The encoding type to use to encode the name portion of the mail address.
charset
The character set to encode the name portion of the email address.

See Also

EmailAddress Class | DotNetOpenMail Namespace | EmailAddress Constructor Overload List