You must set environments variables for smtp:
export NAME=nameofemail
export [email protected]
export PASSWORD=passsword
export HOST=smtp_host
Create a members file with the following syntax:
// file_for_members.txt
Name Surname <[email protected]>
Name2 Surname2 <[email protected]>
Then build the source code:
cargo build
Then call the program with the file previously created as -f
param:
/target/debug/rsanta -f <file_for_members.txt>