Table of Contents

Interface IMailer

Namespace
The.Mail
Assembly
Instagile.dll

Low-level interface to an SMTP service, used by MailService.

public interface IMailer

Methods

SendAsync(string, string, string, IEnumerable<string>, IEnumerable<string>, IEnumerable<string>, CancellationToken)

Task<SendResult> SendAsync(string subject, string body, string from, IEnumerable<string> to, IEnumerable<string> cc, IEnumerable<string> bcc, CancellationToken ct)

Parameters

subject string
body string
from string
to IEnumerable<string>
cc IEnumerable<string>
bcc IEnumerable<string>
ct CancellationToken

Returns

Task<SendResult>