SmtpReplyTo Property
Gets or sets EmailAddressCollection object specifying e-mail addresses to which the replies to this message should be sent.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.1 build 666 for .NET 4.5
public EmailAddressCollection ReplyTo { get; set; }

Property Value

Type: EmailAddressCollection
The EmailAddressCollection object representing Reply-To: field of the message.

This property is equivalent to ReplyTo property of Message object.

If this property is not set, most mail programs will send replies to From: address.

Specifying 2 e-mail addresses in Reply-To field.
// To use the code below, import these namespaces at the top of your code.
using System;
using MailBee;
using MailBee.SmtpMail;

// The actual code (put it into a method of your class)

Smtp mailer = new Smtp();

mailer.ReplyTo.AsString = "Bill Smith <>";
mailer.ReplyTo.Add("John Doe, Sales Manager", "");


// The output.
"Bill Smith" <>, "John Doe, Sales Manager" <>
See Also