共用方式為


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

適用於

另請參閱