interface SendGridProviderOptions
Since 0.1.0

Options for SendGridProvider.

Properties

optional
apiKey: string | undefined

SendGrid API key sent as a Bearer token.

optional
endpoint: string | undefined

API endpoint. Default https://api.sendgrid.com/v3/mail/send.

optional
http: IMailHttp | undefined

Injected fetch-shaped function; defaults to global fetch.

Usage

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