📮
Mailwind
  • 🚀Getting started
    • 👋Introduction
    • 🔗Add a provider
  • 📚Documentation
    • 🎨Tailwind configuration
    • 🔡Dynamic Expressions
    • 📱Responsive
  • API parameters
  • Sendgrid
    • Send an email
      • cURL
      • .NET
      • NodeJS
      • PHP
  • AWS SES
    • Obtain your credentials
    • Send an email
      • cURL
      • .NET
      • NodeJS
      • PHP
  • Resend
    • Send an email
      • cURL
      • .NET
      • NodeJS
      • PHP
Powered by GitBook
On this page
  1. AWS SES
  2. Send an email

cURL

PreviousSend an emailNext.NET

Last updated 1 year ago

Find all parameters via this link:

curl -X POST 'https://api.mailwind.io/v1/send/ses' \
-H 'Content-Type: application/json' \
-d '{
    "accessKey": "<<YOUR_ACCESS_KEY>>",
    "secretKey": "<<YOUR_SECRET_KEY>>",
    "region": "<<YOUR_AWS_REGION>>", // eg. us-east-1
    "layoutIdentifier": "<<YOUR_API_KEY_HERE>>",
    "variables": {},
    "code": null,
    "source": "example.mailwind.io",
    "destination": {
        "toAddresses": ["example.mailwind.io"]
    },
    "message": {
        "subject": {
            "data": "[Your Subject Here]"
        }
    }
}'
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SES.html#sendEmail-property