v3: added onboarding email on account creation
This commit is contained in:
@@ -59,7 +59,9 @@ export async function verifyEmailTransport(): Promise<boolean> {
|
||||
return true;
|
||||
}
|
||||
|
||||
export async function sendEmail(message: EmailMessage): Promise<EmailSendResult> {
|
||||
export async function sendEmail(
|
||||
message: EmailMessage,
|
||||
): Promise<EmailSendResult> {
|
||||
if (normalizeRecipients(message.to).length === 0) {
|
||||
throw new Error("Email recipient is required.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user