Sign in

Send message from template

documented

Send a transactional email using a template.

POST /messages/send-templateMessagesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://mandrillapp.com/api/1.0/messages/send-template" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "key": "{{MAILCHIMP_API_KEY}}", "template_name": "{{$template_name}}", "template_content": [], "message": { "subject": "{{$subject}}", "from_email": "{{$from_email}}", "from_name": "{{$from_name}}", "to": [{"email": "{{$recipient_email}}", "name": "{{$recipient_name}}", "type": "to"}], "headers": {"Reply-To": "{{$reply_to}}"} } }'
Send message from template · Mailchimp · OpenIntegrations