SendOneAsync Method
Definition
SendOneAsync(MailMessage, Func<MailMessage, bool>)
Sends the specified mail to an SMTP server.
public Task SendOneAsync(MailMessage mail, Func<MailMessage, bool> filter = null)
Parameters
mailMailMessageThe e-mail to send to an SMTP server.
filterFunc<MailMessage, bool>The function delegate that defines the conditions for the sending of
mail.
Returns
Remarks
The function delegate filter will only include the mail if that evaluates to true.