method SesProvider.prototype.send
SesProvider.prototype.send(message: OutgoingMail): Promise<void>

Sends a message via SES.

Parameters

The outgoing mail

Return Type

Promise<void>

Throws

Error

If the provider is not connected or SES rejects the message

Usage

import { SesProvider } from "mail-plugin/src/index.ts";