Skip to main content

Simple lib to send mail

Project description

[!WARNING] This package has been renamed to sendmyl.

Please update your dependencies accordingly.

sendmyl

PyPI PyPI - Downloads PyPI - License Python Lint

Simple CLI tool to send mail using Python 3+

Installation

pip install sendmyl

# or with pipx:
pipx install sendmyl

and there's this too 💑:

nix run github:pschmitt/sendmyl -- --help

Usage

$ sendmyl --help
Usage: sendmyl.py [-h] [-N] [-S SMTP] [-P PORT] [--ssl] [--starttls]
                       [--insecure] -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 Server
  -P, --port PORT       SMTP Server Port
  --ssl                 Use SSL/TLS
  --starttls            Use STARTTLS
  --insecure            Disable SSL/TLS certificate validation
  -s, --sender SENDER   Email of the sender
  -u, --username USERNAME
                        Username of the account (default: sender email)
  -p, --password PASSWORD
                        Password of the account
  -r, --recipient RECIPIENT
                        Recipient of the mail
  -v, --verbose         Verbose output
  -a, --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-4.3.tar.gz (45.2 kB view details)

Uploaded Source

Built Distribution

justsendmail-4.3-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for justsendmail-4.3.tar.gz
Algorithm Hash digest
SHA256 9f1d4967eb018cf6900fa3648bcb51879caed618840b4ae3555192a2d3db0fdb
MD5 a95b0995b29edf81b7ea0a2ad30a1b76
BLAKE2b-256 e17e15ed69de8e0158f5aac217e117b064573733db3dafcd91cfc505a37fb69a

See more details on using hashes here.

Provenance

The following attestation bundles were made for justsendmail-4.3.tar.gz:

Publisher: pypi.yaml on pschmitt/justsendmail

Attestations:

File details

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

File metadata

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

File hashes

Hashes for justsendmail-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b1cebdcab7c61540ddf226c109f0e2338880585dc3e533a15a29567a80c33fa0
MD5 d5ce8c2da2ad53d52b5c3867967f732e
BLAKE2b-256 115c45ae996846d89447d18de81fce825eb251c413562653d81643356a0b349f

See more details on using hashes here.

Provenance

The following attestation bundles were made for justsendmail-4.3-py3-none-any.whl:

Publisher: pypi.yaml on pschmitt/justsendmail

Attestations:

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