MailMessage.ReplyTo Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Gets or sets the ReplyTo address for the mail message.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

[ObsoleteAttribute("ReplyTo is obsoleted for this type.  Please use ReplyToList instead which can accept multiple addresses. http://go.microsoft.com/fwlink/?linkid=14202")]
public MailAddress ReplyTo { get; set; }

Property Value

Type: System.Net.Mail.MailAddress

A MailAddress that indicates the value of the ReplyTo field.

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

.NET Framework
Available since 2.0
Return to top
Show: