Replaces all occurrences of the specified case-sensitive pattern in the specified parts of the message with the actual value.
This method performs search and replace operation in targets parts of the message.
If you previously added an attachment pattern (using
Note Pattern of the message template is case-sensitive. For instance, if the pattern is e-mail and the message body contains E-MAIL and e-mail, then only e-mail will be replaced with the actual value.
The example is available in MailMerge topic.
MailMerge Class | MailBee.Mime Namespace | MailMerge.Replace Overload List | AddAttachmentPattern | AddAttachmentPattern