Skip to main content

CLI SMTP client in pure Python

Project description

CLI SMTP client in pure Python.

Installation:

python3 -m pip install --user --upgrade sendsmtp

Usage:

$ sendsmtp --help
 usage: sendsmtp [-h] [-m MESSAGE] [-i INPUT] [-p PORT] [-u USERNAME] [--password PASSWORD] [-t] [-c CC] [-b BCC] [-s SUBJECT] HOST FROM TO

 CLI SMTP client in pure Python

 positional arguments:
   HOST                  Host to connect via SMTP.
   FROM                  Sender email.
   TO                    Recipient email(s), comma separated.

 options:
   -h, --help            show this help message and exit
   -m MESSAGE, --message MESSAGE
                         Message to send.
   -i INPUT, --input INPUT
                         Path to file to read message contents.
   -p PORT, --port PORT  Port to connect via SMTP.
   -u USERNAME, --username USERNAME
                         Username for login.
   --password PASSWORD   Password for login.
   -t, --tls             Flag to use TLS.
   -c CC, --cc CC        Recipient address(es) to send copy to, comma separated.
   -b BCC, --bcc BCC     Recipient address(es) to send blind copy to, comma separated.
   -s SUBJECT, --subject SUBJECT
                         Message subject.

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

sendsmtp-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sendsmtp-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sendsmtp-1.0.0.tar.gz.

File metadata

  • Download URL: sendsmtp-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.59-1-MANJARO

File hashes

Hashes for sendsmtp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4976674049830e2e70d64ea7a9ffce353bdea994006661aabf20e08f074c3f22
MD5 942945c10793c315e72211e3670a89db
BLAKE2b-256 416baa2c3a5a65c0dbf77cf29789138cb7ad73671380fb6ea34a05725f968b67

See more details on using hashes here.

File details

Details for the file sendsmtp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sendsmtp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Linux/5.15.59-1-MANJARO

File hashes

Hashes for sendsmtp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d50b8a58056cab5f042298e0ea4b96e880ceab95869ff2dd210e37363c0f53d6
MD5 5a55ce17d3d3209ca17bd054d9313c99
BLAKE2b-256 f76533a4f8582ca75ec3d765c410562ddcae8d090c3fc7c0c33d9265185b8b90

See more details on using hashes here.

Supported by

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