sendEmail(Defined in: index.ts:57 Sends an email via Resend.payload):Promise<void>
Example
Parameters
Returns
Promise<void>Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
sendEmail(Defined in: index.ts:57 Sends an email via Resend.payload):Promise<void>
import { sendEmail } from '@modelence/aws-ses';
sendEmail({
from: 'test@example.com',
to: 'test@example.com',
subject: 'Test Email',
html: '<h1>Hello World</h1>'
})
| Parameter | Type | Description |
|---|---|---|
payload | EmailPayload | The email payload object. |
Promise<void>