← @mortar-kit/auth

ResendMailerOptionsinterface

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

interface ResendMailerOptions

Options for resendMailer.

Properties

apiKey: string

A Resend API key (re_…), from the environment.

from: string

The sender, on a domain verified with Resend, e.g. 'Site <[email protected]>'.

fetch?: { (input: URL | RequestInfo, init?: RequestInit): Promise<Response>; (input: string | Request | URL, init?: RequestInit): Promise<Response> }

For tests: the fetch to send with.