postmancli

CLI tool for emails sending using SMTP server


Keywords
cli, command-line, email-sender, python
License
LGPL-3.0
Install
pip install postmancli==0.1.2

Documentation

postman-cli

PyPI Version PyPI Compatibility PyPI License Codacy Badge Build Status

Python CLI (postmancli) tool for emails sending using SMTP server.

What can I do with postmancli?

  • Send emails using SMTP SSL
  • Use it from terminal when it is installed
  • Multiplatform execution (it is developed in Python)

Installation

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 .

Quick example

$ postmancli -S user:password@smtp.gmail.com:465 -f user@gmail.com -t someone@gmail.com -s postman-cli --text "Hello everyone!@nl@@tab@It seems that this works ..." -a "file.txt" "photo.jpg"

The example sends an email with user@gmail.com as sender, someone@gmail.com as receiver, postman-cli as subject, Hello every... as text message and 2 attachments (file.txt & photo.jpg).

Help

Run the following command to see all options available:

postmancli --help or postmancli -h