SmtpMessageSubmittedToPickupFolderEventArgsMergeRowIndex 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.4 build 677 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 SmtpMessageSubmittedToPickupFolderEventArgs class) returns DataRow used for mail merge of the message just enqueued.

This property returns zero for mail merge over IDataReader jobs.

See Also