This example shows how to use Resend with Axum.
To get the most out of this guide, you’ll need to:
-
Replace
re_123456789
onsrc/main.rs
with your API key. -
Run the server:
cargo run
-
Access the URL http://localhost:3000/ via your browser or run
curl http://localhost:3000/
MIT License