Skip to content

Instantly share code, notes, and snippets.

@dbarjs
Created August 3, 2016 11:52
Show Gist options
  • Save dbarjs/fb4573b790e71ad28e65e3d6dc276a1e to your computer and use it in GitHub Desktop.
Save dbarjs/fb4573b790e71ad28e65e3d6dc276a1e 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: server token" \
-d "{}"
{
"From": "mailman@elbit.com.br",
"To": "eduardo@elbit.com.br, rafael@elbit.com.br, cristiano@elbit.com.br",
"Subject": "Test",
"Tag": "Invitation",
"HtmlBody": "<b>Olá</b>, tudo bem? haha",
"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