Export (0) Print
Expand All

SmtpClient Constructor

Initializes a new instance of the SmtpClient class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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