summaryrefslogtreecommitdiff
path: root/README.md
blob: 04ac7720e644a9ecb2dcdfb64183dbd57b9a2c78 (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 - Be your friends' Secret Santa

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