SmtpSendingMessageEventArgsMergeDataReader Property
Gets the reference to the data reader 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
Syntax
public IDataReader MergeDataReader { get; }

Property Value

Type: IDataReader
A reference to the data reader if it was passed as an input, or a null reference (Nothing in Visual Basic) if the input wasn't a data reader.
Remarks
Note that you must not advance the position of data reader (such as with Read method). MailBee will do this itself. Also, if the mail merge process is multi-threaded, you cannot use this property to access the current row. Another thread may already use the reader to read the next data row. Use MergeDataReaderRowValues and MergeDataReaderColumnNames propeties to read the field values corresponding to the current row.
See Also