MailSettingsSectionGroup.Smtp Property

 

Gets the SMTP settings for the local computer.

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

public SmtpSection Smtp { get; }

Property Value

Type: System.Net.Configuration.SmtpSection

A SmtpSection object that contains configuration information for the local computer.

Mail settings affect the behavior of the SmtpClient class.

.NET Framework
Available since 2.0
Return to top
Show: