Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  NameDescription
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.