Creates a new message that is a reply to the current message.

Namespace:  Rebex.Mail
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Function CreateReply ( _
	sender As MailAddress, _
	transformation As ReplyBodyTransformation, _
	replyToAll As Boolean _
) As MailMessage
C#
public MailMessage CreateReply(
	MailAddress sender,
	ReplyBodyTransformation transformation,
	bool replyToAll
)

Parameters

sender
Type: Rebex.Mime.Headers..::..MailAddress
The sender of the reply.
transformation
Type: Rebex.Mail..::..ReplyBodyTransformation
Transformation mode for the original message body.
replyToAll
Type: System..::..Boolean
True if the reply is to be sent to all e-mail addresses that were in the original 'From', 'Reply-To', 'To' and 'CC' fields.

Return Value

A new message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also