SmtpDeliveryMethod 列舉

定義

指定電子郵件訊息的傳遞方式。

public enum class SmtpDeliveryMethod
public enum SmtpDeliveryMethod
type SmtpDeliveryMethod = 
Public Enum SmtpDeliveryMethod
繼承
SmtpDeliveryMethod

欄位

Network 0

電子郵件是透過網路傳送到 SMTP 伺服器。

PickupDirectoryFromIis 2

電子郵件會複製到本機網際網路資訊服務 (Internet Information Services,IIS) 所用的收取目錄中,以進行傳遞。

SpecifiedPickupDirectory 1

電子郵件會複製到 PickupDirectoryLocation 屬性所指定的目錄中,以便由外部應用程式進行傳遞。

備註

SmtpDeliveryMethod使用 列舉做為 屬性的參數 SmtpClient.DeliveryMethod ,以指定傳遞方法。

適用於