Skip to content
/ rsanta Public

Be your friends' Secret Santa

License

Notifications You must be signed in to change notification settings

boozec/rsanta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💩 This is a shitty code. Maybe I'll fix that for the next xmas.

rsanta - Be your friends' Secret Santa

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>