MailMessage.ReplyTo MailMessage.ReplyTo MailMessage.ReplyTo MailMessage.ReplyTo Property

定義

警告

此 API 現已淘汰。

取得或設定郵件訊息的 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("Use ReplyToList instead")]
[System.Obsolete("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. http://go.microsoft.com/fwlink/?linkid=14202")]
[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; }
member this.ReplyTo : System.Net.Mail.MailAddress with get, set
Public Property ReplyTo As MailAddress

屬性值

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

備註

使用屬性來指示位址, 而不是用From來回複此訊息的位址。 ReplyToUse the ReplyTo property to indicate an address other than the From address to use to reply to this message.

適用於