Skip to content

IDapperMaticEmailSender ​

Namespace: MJCZone.DapperMatic.AspNetCore.Accounts

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Sends the built-in accounts' emails: the application's own (SMTP, a mail service). Without one, emails are logged, with their links and codes only in Development.

abstract public

Note: This is an interface that defines a contract. Look for implementing classes in the same or related namespaces.

Contents ​

Methods (1)

Methods ​

SendAsync ​

Sends an email.

csharp
Task SendAsync(DapperMaticEmail email, CancellationToken cancellationToken)

Parameters ​

  • email (DapperMaticEmail) - The email.
  • cancellationToken (CancellationToken) - The cancellation token.

Returns ​

Type: Task

A task.