ReplyTo Property

MailMessage.ReplyTo Property

Gets or sets the ReplyTo address for the mail message.

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

public MailAddress ReplyTo { get; set; }
/** @property */
public MailAddress get_ReplyTo ()

/** @property */
public void set_ReplyTo (MailAddress value)

public function get ReplyTo () : MailAddress

public function set ReplyTo (value : MailAddress)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2016 Microsoft