dbarjs
8/3/2016 - 2:18 PM

gistfile1.txt

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"
}