This is Mailgun Sender.
POC. Active development.
Install Rust:
curl https://sh.rustup.rs -sSf | sh
Build:
cargo build
cargo run
SERVER_IP - IP address for binding, e.g. 127.0.0.1
SERVER_PORT - port for binding, e.g. 8080
SECRET_PATH - path to directory with secrets, e.g. "secret"
$SECRET_PATH/login - Mailgun API login, e.g. api, for details visite https://documentation.mailgun.com/en/latest/user_manual.html#sending-via-api
$SECRET_PATH/api_key - Mailgun API api_key, for details visite https://documentation.mailgun.com/en/latest/user_manual.html#sending-via-api
$SECRET_PATH/domain_name - Mailgun API domain_name, for details visite https://documentation.mailgun.com/en/latest/user_manual.html#sending-via-api