MailSettingsSectionGroup.Smtp 属性

定义

获取本地计算机的 SMTP 设置。

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

属性值

SmtpSection 对象,它包含本地计算机的配置信息。

注解

邮件设置会影响 类的行为 SmtpClient

适用于

另请参阅