Skip to main content

Function: sendTestEmail()

sendTestEmail(_prev, formData): Promise<TestEmailState>

Defined in: src/server/actions/settings.ts:230

Owner-only: send a one-off test email to a typed address using the company's current sender / reply-to and honoring the enabled kill switch. Surfaces the seam's delivery status so the UI can show the same actionable sent/skipped/failed wording as the invoice flow (PR #28).

Parameters

_prev

TestEmailState

formData

FormData

Returns

Promise<TestEmailState>