MailAddress

MailAddress constructor (1 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address, bool ignoreSmtpCheck)
Parameter Type Description
address String The mail address.
ignoreSmtpCheck Boolean if set to true then SMTP check will be omitted.

See Also


MailAddress constructor (2 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address, string displayName, bool ignoreSmtpCheck)
Parameter Type Description
address String The mail address.
displayName String The display name.
ignoreSmtpCheck Boolean if set to true then SMTP check will be omitted.

See Also


MailAddress constructor (3 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address, string displayName, Encoding displayNameEncoding)
Parameter Type Description
address String The mail address.
displayName String The display name.
displayNameEncoding Encoding The display name encoding.

See Also


MailAddress constructor (4 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address, string displayName, Encoding displayNameEncoding, 
    bool ignoreSmtpCheck)
Parameter Type Description
address String The mail address.
displayName String The display name.
displayNameEncoding Encoding The display name encoding.
ignoreSmtpCheck Boolean if set to true then SMTP check will be omitted.

See Also


MailAddress constructor (5 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address)
Parameter Type Description
address String The mail address.

See Also


MailAddress constructor (6 of 6)

Initializes a new instance of the MailAddress class.

public MailAddress(string address, string displayName)
Parameter Type Description
address String The mail address.
displayName String The display name.

See Also