MailMessage.ReplyTo 屬性

定義

警告

ReplyTo is obsoleted for this type. Please use ReplyToList instead which can accept multiple addresses. https://go.microsoft.com/fwlink/?linkid=14202

警告

ReplyTo is obsoleted for this type. Please use ReplyToList instead which can accept multiple addresses. http://go.microsoft.com/fwlink/?linkid=14202

警告

Use ReplyToList instead

取得或設定郵件訊息的 ReplyTo 地址。Gets or sets the ReplyTo address for the mail message.

public:
 property System::Net::Mail::MailAddress ^ ReplyTo { System::Net::Mail::MailAddress ^ get(); void set(System::Net::Mail::MailAddress ^ value); };
[System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. https://go.microsoft.com/fwlink/?linkid=14202")]
public System.Net.Mail.MailAddress? ReplyTo { get; set; }
[System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. http://go.microsoft.com/fwlink/?linkid=14202")]
public System.Net.Mail.MailAddress ReplyTo { get; set; }
[System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. https://go.microsoft.com/fwlink/?linkid=14202")]
public System.Net.Mail.MailAddress ReplyTo { get; set; }
public System.Net.Mail.MailAddress ReplyTo { get; set; }
[System.Obsolete("Use ReplyToList instead")]
public System.Net.Mail.MailAddress ReplyTo { get; set; }
[<System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ReplyTo : System.Net.Mail.MailAddress with get, set
member this.ReplyTo : System.Net.Mail.MailAddress with get, set
[<System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.ReplyTo : System.Net.Mail.MailAddress with get, set
[<System.Obsolete("Use ReplyToList instead")>]
member this.ReplyTo : System.Net.Mail.MailAddress with get, set
Public Property ReplyTo As MailAddress

屬性值

MailAddress

MailAddress,表示 ReplyTo 欄位的值。A MailAddress that indicates the value of the ReplyTo field.

屬性

備註

您可以使用 ReplyTo 屬性來表示 From 用來回複此訊息的位址以外的位址。Use the ReplyTo property to indicate an address other than the From address to use to reply to this message.

適用於