AWS SES
Amazon Simple Email Service (SES) is an email platform that provides an easy, cost-effective way to send and receive email using your own email addresses and domains.Configuration
Database Setup
Create a new entry in thenotify_providers table with the following settings:
| Field | Value |
|---|---|
channel_type | 11 (AWS SES) |
is_enabled | 1 |
Configuration Fields
Access key for AWS instance
Secret access key for AWS
Region of the AWS instance
Request Format
Sample Request Body
Request Fields
Sender’s email address
Recipient’s email address
CC email address
BCC email address
Email subject
Plain text version of the email
HTML version of the email
Reply-to email address
Array of attachment objects
File Content Encoding
Text-Based Files
For files with extensions:txt, csv, html, json, or xml:
- Encode the file content as a UTF-8 string
- Pass this UTF-8 string to the
contentfield
Other File Types
For PDFs, images, spreadsheets, etc.:- Encode the file content using Base64
- Pass the Base64 encoded string to the
contentfield
Dependencies
| Package | Version | Description |
|---|---|---|
| @aws-sdk/client-ses | ^3.855.0 | AWS SDK for JavaScript SES client |