resendMailerfunction
import { resendMailer } from '@mortar-kit/auth'
function resendMailer(options: ResendMailerOptions): MailerA mailer that sends through Resend. Throws when Resend refuses a message, so the sign-in shows an error instead of waiting for an email that won't come.
Parameters
options: ResendMailerOptions
Returns
Example
email({ mailer: resendMailer({ apiKey: process.env.RESEND_API_KEY!, from: 'Site <[email protected]>' }), store });