SmtpClient.PickupDirectoryLocation 屬性

定義

取得或設定資料夾,應用程式會在其中儲存要由本機 SMTP 伺服器處理的郵件訊息。

public:
 property System::String ^ PickupDirectoryLocation { System::String ^ get(); void set(System::String ^ value); };
public string? PickupDirectoryLocation { get; set; }
public string PickupDirectoryLocation { get; set; }
member this.PickupDirectoryLocation : string with get, set
Public Property PickupDirectoryLocation As String

屬性值

String,指定郵件訊息的收取目錄。

備註

如果存在) ,本機 SMTP 伺服器會自動傳送取貨目錄中的郵件訊息,例如 IIS (。

這個屬性的預設值也可以在計算機或應用程式組態檔中設定。 對屬性所做的 PickupDirectoryLocation 任何變更會覆寫組態檔設定。

適用於

另請參閱