Send mail through SMTP with Python
| .gitignore | ||
| mail.py | ||
| README.md | ||
| vars.py.example | ||
pymail
Easily send mails via SMTP and python
Setup
- Copy
vars.py.exampletovars.py - Setup
vars.pywith your credentials and config - Adapt
message.htmtand save your contact list tocontacts.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!