summaryrefslogtreecommitdiff
path: root/README.md
blob: d4a048eac44ba047bfb2ee250c1f5172511e11e1 (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
# rsanta - make your Secret Santa

You must set environments variables for smtp:
```
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>
```