summaryrefslogtreecommitdiff
path: root/README.md
blob: acc4c45b3461322af467eb22afe9f325baf023f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# rsanta - Make secret santa with your friends

You must set environments variables for smtp:
```
export NAME=nameofemail
export EMAIL=youremail@tld.com
export PASSWORD=passsword
export HOST=smtp_host
```

Create a members file with the following syntax:
```
// file_for_members.txt
Name Surname <email@tld.com>
Name2 Surname2 <email2@tld.com>
```

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>
```