MailBee.NET Objects 3.1

MailMergeTargets Enumeration

Defines mail message elements where patterns should be searched and replaced with actual values during mail merge operation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum MailMergeTargets

Remarks

MailMerge.Replace method performs search and replacement in the parts of the message specified by targets parameter (which has MailMergeTargets type). MailMergeTargets has no effect on attachments. This is because Replace method can add attachments only if their patterns have been added through AddAttachmentPattern method.

Members

Member Name Description Value
None No elements. 0
BodyPlainText The plain-text body of the message. 1
BodyHtmlText The HTML body of the message. 2
From The From field. 4
ReplyTo The ReplyTo field. 8
Recipients The To, Cc, Bcc fields. 16
Subject The Subject field. 32
Other All other parts of the message excluding attachments. Examples are custom headers and text body parts. 64
All All message elements listed above. 127

Requirements

Namespace: MailBee.Mime

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Mime Namespace | Merge