Edit

Share via


MailSettingsSectionGroup.Smtp Property

Definition

Gets the SMTP settings for the local computer.

public:
 property System::Net::Configuration::SmtpSection ^ Smtp { System::Net::Configuration::SmtpSection ^ get(); };
public System.Net.Configuration.SmtpSection Smtp { get; }
member this.Smtp : System.Net.Configuration.SmtpSection
Public ReadOnly Property Smtp As SmtpSection

Property Value

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

Remarks

Mail settings affect the behavior of the SmtpClient class.

Applies to

See also