ReplyTo Property

MailMessage.ReplyTo Property

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.")]
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
© 2015 Microsoft