, Mailgun , script . :
1) https://api.mailgun.net/v3/{domain}/events?event=rejected+OR+failed
2) , :
"storage": {
"url": "https://se.api.mailgun.net/v3/domains/{domain}messages/{some-key}",
"key": "some-key"
}
3) URL- . , , : to, from, subject, body-html, reply-to, attachments .
4) , Mailgun: https://api.mailgun.net/v3/{domain}/messages
When I have time, I will clean up the implementation of this C # and open source on GitHub.
source
share