sscovil / something-awesome

This is going to be something totally awesome. Seriously. Awesome.
MIT License
0 stars 1 forks source link

Mailgun REST endpoint added, with error handling #20

Closed Keeeeeeeks closed 7 years ago

Keeeeeeeks commented 7 years ago

Edited code that handled REST endpoint so that it includes error handling. If there are no errors, the endpoint takes parsed form data and sends it to a Mailgun-specified email address. Mailgun API key, domain, and email address are specified as environment variables.