MailMessage.CreateReply Method
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9147)
CreateReply(MailAddress, ReplyBodyTransformation)
Creates a new message that is a reply to the current message.
Declaration
public MailMessage CreateReply(MailAddress sender, ReplyBodyTransformation transformation)
Parameters
Type | Name | Description |
---|---|---|
Mail |
sender | The sender of the reply. |
Reply |
transformation | Transformation mode for the original message body. |
Returns
Type | Description |
---|---|
Mail |
A new message. |
CreateReply(MailAddress, ReplyBodyTransformation, Boolean)
Creates a new message that is a reply to the current message.
Declaration
public MailMessage CreateReply(MailAddress sender, ReplyBodyTransformation transformation, bool replyToAll)
Parameters
Type | Name | Description |
---|---|---|
Mail |
sender | The sender of the reply. |
Reply |
transformation | Transformation mode for the original message body. |
Boolean | replyToAll | 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. |
Returns
Type | Description |
---|---|
Mail |
A new message. |
CreateReply(MailAddress, ReplyBodyTransformation, MailReplyOptions)
Creates a new message that is a reply to the current message.
Declaration
public MailMessage CreateReply(MailAddress sender, ReplyBodyTransformation transformation, MailReplyOptions options)
Parameters
Type | Name | Description |
---|---|---|
Mail |
sender | The sender of the reply. |
Reply |
transformation | Transformation mode for the original message body. |
Mail |
options | Mail reply options. |
Returns
Type | Description |
---|---|
Mail |
A new message. |