Minimal Rust script sending a single email via raw HTTP using reqwest - no SDK required.
- Rust 1.75+
- A Keplars API key (get one here)
cd api-example
cp .env.example .envSet your credentials in .env:
API_KEY=kms_your_key_here
TO_EMAIL=recipient@example.com
FROM_EMAIL=hello@yourdomain.comRun:
cargo runMIT