Email Sending starter
Send transactional email from
notifications@company.example to
recipient@mailbox.example using an API:
Request
curl --request POST \ --url https://mail.faromental.com/send \ --header 'Authorization: Bearer YOUR_TOKEN'
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"success": true,
"messageId": "example-message-id"
}
Replace the example email addresses in
wrangler.jsonc before deploying this Worker