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

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
[FlagsAttribute]
public enum MailMergeTargets
Members
  Member nameValueDescription
None0 No elements.
BodyPlainText1 The plain-text body of the message.
BodyHtmlText2 The HTML body of the message.
From4 The From field.
ReplyTo8 The ReplyTo field.
Recipients16 The To, Cc, Bcc fields.
Subject32 The Subject field.
Other64 All other parts of the message excluding attachments. Examples are custom headers and text body parts.
All127 All message elements listed above.
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(String, String) method can add attachments only if their patterns have been added through AddAttachmentPattern(String) method.
See Also