https://github.com/joaocarmo/pyshmailer
Python Mailer for Shenanigans !
https://github.com/joaocarmo/pyshmailer
cli mailer python
Last synced: 10 months ago
JSON representation
Python Mailer for Shenanigans !
- Host: GitHub
- URL: https://github.com/joaocarmo/pyshmailer
- Owner: joaocarmo
- License: mit
- Created: 2019-07-07T11:18:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T22:44:53.000Z (almost 5 years ago)
- Last Synced: 2025-01-16T21:23:13.176Z (12 months ago)
- Topics: cli, mailer, python
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyShMailer
A simple CLI tool to send emails using Python 3, because the End of Life (EOL)
for Python 2.7 is coming January 1, 2020.
## Install
```bash
pip install -r requirements.txt
```
## Configuration
Use a `YAML` file with the following structure.
```yaml
--- # config start
#################
# Mailer Config #
#################
smtp_server:
plain: 'mail.server.com'
base64: ''
smtp_user:
plain: 'username@server.com'
base64: ''
smtp_pass:
plain: 'password'
base64: ''
proxy:
user: 'fake-user@hostname.com'
host: '127.0.0.1'
port: 1080
type: 'socks5'
... # config end
```
## Usage
A simple example.
```bash
./pyshmailer -to janedoe@server.com -from "John Doe " -s
"Hello, there !" -m "Hi, this is John. Long time no see!"
```