This documentation is archived and is not being maintained.

SmtpClient Constructor

Initializes a new instance of the SmtpClient class.

Name Description
SmtpClient () Initializes a new instance of the SmtpClient class by using configuration file settings.
SmtpClient (String) Initializes a new instance of the SmtpClient class that sends e-mail by using the specified SMTP server.
SmtpClient (String, Int32) Initializes a new instance of the SmtpClient class that sends e-mail by using the specified SMTP server and port.
Show: