SendMailJobMergeRowIndex Property
Gets the index of the data row used for mail merge of this message.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public int MergeRowIndex { get; }

Property Value

Type: Int32
The index of the data row in MergeTable data table used for mail merge of this message, or zero if this mail message was not composed as a merge of database data with mail template.
Remarks

For mail merge operations, job.MergeTable[e.MergeRowIndex] (in C# syntax, assuming job is an instance of SendMailJob class) returns the first DataRow to be merged with the template.

Since SendMailJob objects in JobsPending collection can represent mail merge jobs of processing multiple data rows, MergeRowIndex can actually refer to the first data row index in the entire list data row indices associated with such SendMailJob object. To get all the indices, use GetIndicesAsString method.

See Also