pymail/README.md

21 lines
431 B
Markdown
Raw Normal View History

2020-12-07 15:01:09 +01:00
# 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!
```