21 lines
No EOL
431 B
Markdown
21 lines
No EOL
431 B
Markdown
# pymail
|
|
|
|
Easily send mails via SMTP and python
|
|
|
|
## Setup
|
|
1. Copy `vars.py.example` to `vars.py`
|
|
2. Setup `vars.py` with your credentials
|
|
3. Adapt `message.txt` and import `contacts.csv`
|
|
|
|
## Usage
|
|
```python mail.py```
|
|
|
|
## Templating
|
|
You can use the keys from your `csv` directly, prepending a `$` sign. For example:
|
|
```
|
|
Hello $name, your value is $value!
|
|
```
|
|
would look like the following:
|
|
```
|
|
Hello h4xx0r, your value is 1337!
|
|
``` |