Small library to send emails via Gmail SMTP server.
1. Create your secure Google App Password.
export MAILER_USERNAME=.........
export MAILER_PASSWORD=.........
go run main.go -from "[email protected]" -to "[email protected]" \
-subject "test mailer" \
-body "hello from command line"
build
- Builds binary to file path"bin/mailer"
run_tests
- Run Golang tests.test_coverage
- Run Golang test converage.show_coverage
- Run and displays html test coverage.cleanup
- Removes temporary files.