Edit

Share via


MailMessage.ReplyTo Property

Definition

Caution

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

Caution

ReplyTo has been deprecated. Use ReplyToList instead, which can accept multiple addresses.

Caution

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

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 has been deprecated. Use ReplyToList instead, which can accept multiple addresses.")]
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("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
[<System.Obsolete("ReplyTo has been deprecated. Use ReplyToList instead, which can accept multiple addresses.")>]
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
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.

Attributes

Remarks

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

Applies to