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

Definition

Warning

This API is now obsolete.

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

Property Value

A MailAddress that indicates the value of the ReplyTo field.

Remarks

Use the ReplyTo property to indicate an address other than the From address to use to reply to this message.

Applies to