MailMergeReplaceAsync Method (String, String, MailMergeTargets)

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<int> ReplaceAsync(
	string pattern,
	string actualValue,
	MailMergeTargets targets
)

Parameters

pattern
Type: SystemString
The pattern to be searched.
actualValue
Type: SystemString
The actual value to replace the found pattern with.
targets
Type: MailBee.MimeMailMergeTargets
The elements of the message where the pattern text should be searched and replaced with the actual value.

Return Value

Type: TaskInt32
A task that represents the asynchronous operation. The value of TResult parameter is the number of replacements actually made.
See Also