Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For most cases, please use the default sender address no-reply@diaper.cf 

Example Usage (Python)

Code Block
languagepy
data = {
  "sender": "no-reply@diaper.cf",
  "recipient": "receipentEmail@example.com",
  "subject": "Subject",
  "bodyHtml": "Body HTML",
  "token":"!QR!$JDrR#xH#TD5fpl8"
}

r = requests.get('https://1wviw5yf8a.execute-api.us-east-1.amazonaws.com/default/sendEmail', data=json.dumps(data))
print(r.text)

This should output "Email sent." if the execution succeeded.