Hands a message to a mail server. nodemailer's SMTP transport is one, and the tests put a recording one in its place with setEmailTransport.
sendMail(message: OutgoingEmail & { from: string; }): Promise<unknown>
Hands a message to a mail server. nodemailer's SMTP transport is one, and the tests put a recording one in its place with setEmailTransport.
sendMail(message: OutgoingEmail & { from: string; }): Promise<unknown>
import { type EmailTransport } from "api/services/email-service.ts";