SmtpSubmittingMessageToPickupFolderEventArgsMergeRowIndex 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.2.0 build 630 for .NET 4.5
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 DataTable data with mail template.

For mail merge operations, e.MergeTable[e.MergeRowIndex] (in C# syntax, assuming e is an instance of SmtpSubmittingMessageToPickupFolderEventArgs class) returns DataRow used for mail merge of the message being submitted to the pickup folder.

This property returns zero for mail merge over IDataReader jobs.

See Also