SmtpNetworkElement.Host Property

 

Gets or sets the name of the SMTP server.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

[ConfigurationPropertyAttribute("host")]
public string Host { get; set; }

Property Value

Type: System.String

A string that represents the name of the SMTP server to connect to.

.NET Framework
Available since 2.0
Return to top
Show: