otterandrye/mailgun_v3

Allow to configure the API endpoint

pfrenssen opened this issue · 0 comments

The API endpoint is currently hardcoded to the live endpoint https://api.mailgun.net/v3 in the MAILGUN_API constant.

It would be great if the endpoint can be made configurable, so that developers can set it to a postbin debugging URL for manual testing, or use a crate such as mockito for unit testing.