Represents a Simple Mail Transfer Protocol (SMTP) server that sends outgoing e-mail notifications.

The following tables list the members exposed by the SmtpServer type.

Public Constructors

  Name Description
SmtpServer Initializes the SmtpServer class by supplying the address of the SMTP server.

Public Properties

  Name Description
public property Address Gets or sets the address of the SMTP server.
public property AuthenticationType Gets or sets the authentication protocol defined for the SMTP server.
public property PortNumber Gets or sets the number of the port used to communicate with the SMTP server.

Public Methods (see also Protected Methods)

  Name Description
public method Equals  Overloaded. (inherited from Object)
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public methodstatic ReferenceEquals  (inherited from Object)
public method ToString  (inherited from Object)

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

See Also

Send comments about this topic to Microsoft.