sendEmail(email: OutgoingEmail): Promise<void>
Sends email from FROM_EMAIL and resolves once the SMTP server has
accepted it. The welcome and reset emails don't wait for it: a slow server
mustn't hold up the request.
email: OutgoingEmail
sendEmail(email: OutgoingEmail): Promise<void>
Sends email from FROM_EMAIL and resolves once the SMTP server has
accepted it. The welcome and reset emails don't wait for it: a slow server
mustn't hold up the request.
email: OutgoingEmail
import { sendEmail } from "api/services/email-service.ts";