Skip to content

Instantly share code, notes, and snippets.

@dbarjs
Created August 3, 2016 14:18
Show Gist options
  • Save dbarjs/70e1e546578a1c34726e548ec5bebd3a to your computer and use it in GitHub Desktop.
Save dbarjs/70e1e546578a1c34726e548ec5bebd3a to your computer and use it in GitHub Desktop.
curl "https://api.postmarkapp.com/email" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Postmark-Server-Token: 93310232-b87b-4cf0-be46-58e5ac3f77b8" \
-d "{}"
{
"From": "mailman@elbit.com.br"
,"To": "cristiano@elbit.com.br, eduardo@elbit.com.br",
"Subject": "Test",
"Tag": "Invitation",
"HtmlBody": "<b>Olá</b>, tudo bem?",
"TextBody": "Olá, tudo bem?",
"ReplyTo": "mailman@elbit.com.br"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment