Send emails using the terminal, created in Rust.
- First you needs to configure your e-mail to send mails through SMTP.
- Clone the repo.
- Build the APP
cargo build --release
. - Add a .env file with your credentials. Please check
.env.example
file. - Execute the bin file created
target/release/send-email-rust [recipient-email] [subject] [body]
. - You'll receive a message in console with the request status.