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.1.2.tar.gz (7.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page