README.md 875 Bytes
Newer Older
1
# Bulk Mailer
haggl's avatar
haggl committed
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
27
28
29
30
31
32
33
34
35
36
37
A little script that sends a bunch of e-mails at once.

Sender-, SMTP- and recipient information is read from a YAML database (see [example](db.example.yml)), except for the SMTP password, which is prompted for.
The message to send is read from a message template, opening and sender name are filled in and e-mails are sent one at a time.


## Requirements

* Python3
* pyyaml

### Installation

To install pyyaml globally with pip:
```
pip3 install pyyaml
```

If you do not want to install it globally, you can use a Python virtual environment:
```
python3 -m venv venv
. venv/bin/activate
pip3 install pyyaml
```
In this case you must activate the virtual environment before running the script.


## Usage

Please see `./bulk_mailer.py --help` for usage information.


## Limitations

* The program assumes that the server uses STARTTLS (usually port 587).