SMTP Inject
documentedInject a message for SMTP delivery via the SparkPost SMTP API.
POST /api/v1/smtpSendingno implementation yet0 runsNo 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://api.sparkpost.com/api/v1/transmissions" \
-X POST \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"content": {"from": "{{$from_email}}", "subject": "{{$subject}}", "text": "{{$text}}", "html": "{{$html}}"}, "recipients": [{"address": "{{$to_email}}"}], "options": {"sandbox": false}}'