Skip to main content

Simple lib to send mail

Project description

Justsendmail

PyPI PyPI - Downloads PyPI - License Python Lint

Simple CLI tool to send mail using Python 3+

Installation

pip install justsendmail

# or with pipx:
pipx install justsendmail

Usage

$ justsendmail --help
usage: justsendmail [-h] [-N] [-S SMTP] [-P PORT] [--tls] -s SENDER
                    [-u USERNAME] [-p PASSWORD] -r RECIPIENT [-v]
                    [-a ATTACHMENT]
                    SUBJECT MESSAGE

Process args

positional arguments:
  SUBJECT
  MESSAGE

options:
  -h, --help            show this help message and exit
  -N, --no-autodiscovery
                        Disable autodiscovery of SMTP settings
  -S SMTP, --smtp SMTP  SMTP Server
  -P PORT, --port PORT  SMTP Server Port
  --tls                 Use TLS
  -s SENDER, --sender SENDER
                        Email of the sender
  -u USERNAME, --username USERNAME
                        Username of the account (default: sender email)
  -p PASSWORD, --password PASSWORD
                        Password of the account
  -r RECIPIENT, --recipient RECIPIENT
                        Recipient of the mail
  -v, --verbose         Verbose output
  -a ATTACHMENT, --attachment ATTACHMENT
                        Attachment

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

justsendmail-3.2.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

justsendmail-3.2-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file justsendmail-3.2.tar.gz.

File metadata

  • Download URL: justsendmail-3.2.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for justsendmail-3.2.tar.gz
Algorithm Hash digest
SHA256 76be30d0e3c64d06cdd15ebfd7d75a745d302b28929ad717c3883babfc45f33e
MD5 38fb9cf597eb569330b89f0bfb033c08
BLAKE2b-256 fe9134533bffd836ada6e4acbf78addd059f4654334be9078d29c6fa82586314

See more details on using hashes here.

File details

Details for the file justsendmail-3.2-py3-none-any.whl.

File metadata

  • Download URL: justsendmail-3.2-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for justsendmail-3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a68282e5ec3f2bda322e32314d157fe870b868975c6cb923030bf2cbdc7c3923
MD5 eccf8d947a0b4b2a70b1a26bc49df93c
BLAKE2b-256 2fbf62573edef45449a70a912f994082f5e702fd915b37c6181e643bad2cd04b

See more details on using hashes here.

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