MailMessage.ReplyToList Property

.NET Framework (current version)
 
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.

Gets or sets the list of addresses to reply to for the mail message.

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

public MailAddressCollection ReplyToList { get; }

Property Value

Type: System.Net.Mail.MailAddressCollection

The list of the addresses to reply to for the mail message.

Use the ReplyToList property to indicate the list of addresses other than the From address to use to reply to this message.

The ReplyToList property replaces the ReplyTo property that only allows a single address to reply to.

.NET Framework
Available since 4.0
Return to top
Show: