Python CLI (postmancli) tool for emails sending using SMTP server.
- Send emails using SMTP SSL
- Use it from terminal when it is installed
- Multiplatform execution (it is developed in Python)
You can install or upgrade postmancli with:
$ pip install postmancli --upgrade
Or you can install from source with:
$ git clone https://github.com/stt-systems/postman-cli.git --recursive
$ cd postmancli
$ pip install .
$ postmancli -S user:[email protected]:465 -f [email protected] -t [email protected] -s postman-cli --text "Hello everyone!@nl@@tab@It seems that this works ..." -a "file.txt" "photo.jpg"
The example sends an email with [email protected]
as sender, [email protected]
as receiver, postman-cli
as subject, Hello every...
as text message and 2 attachments (file.txt & photo.jpg).
Run the following command to see all options available:
postmancli --help
or postmancli -h