← @mortar-kit/auth

Mailerinterface

import { Mailer } from '@mortar-kit/auth'

interface Mailer

Sends email. Implement it over your provider; the sender address is the mailer's business. Throw if the message wasn't accepted.

Properties

send: (message: MailMessage) => Promise<void>