SmtpSendMailMergeAsync Method (String, EmailAddressCollection, IDataReader) |
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> SendMailMergeAsync(
string senderEmailPattern,
EmailAddressCollection recipientsPattern,
IDataReader mergeDataReader
)
Public Function SendMailMergeAsync (
senderEmailPattern As String,
recipientsPattern As EmailAddressCollection,
mergeDataReader As IDataReader
) As Task(Of Boolean)
Parameters
- senderEmailPattern
- Type: SystemString
The e-mail address template of the sender. If it's a null reference
(Nothing in Visual Basic), the e-mail address template will be taken from From property.
- recipientsPattern
- Type: MailBee.MimeEmailAddressCollection
The pattern of the message recipients. If it's a null reference
(Nothing in Visual Basic), the recipients list is combined from To,
Cc, and Bcc lists. - mergeDataReader
- Type: System.DataIDataReader
The data source for mail merge.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the entire mail merge has been processed;
false if the operation was stopped due to an error.
Exceptions See Also