Skip to main content

CLI tool for emails sending using SMTP server

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postmancli-0.2.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page