MailBee.NET Objects 4.0

SmtpMessageSentEventArgs.MergeRowIndex Property

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

public int MergeRowIndex {get;}

Property Value

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, e.MergeTable[e.MergeRowIndex] (in C# syntax, assuming e is an instance of SmtpMessageSentEventArgs class) returns DataRow used for mail merge of the message sent.

See Also

SmtpMessageSentEventArgs Class | MailBee.SmtpMail Namespace