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

sendmyl-4.3.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

sendmyl-4.3-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sendmyl-4.3.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for sendmyl-4.3.tar.gz
Algorithm Hash digest
SHA256 475b7a608886b4c47ed4586574fe8f77b163cf70271de76ce73e2c654b58a6cb
MD5 943ba78c9d9c9417586c61fa7ec557f2
BLAKE2b-256 3bf6f6b32ad2cfc86136f7ce2beae72a00cc52aa3316e27ab34407a74e8ea1e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sendmyl-4.3-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for sendmyl-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 77711acfe259b1763f5832a8485f602ddc2d0103ce0a27a9ed9945f420e02ab8
MD5 87d660401d671153b1f8c3bd2fb54a9e
BLAKE2b-256 1efce4f5650529a1dfeb8e0b79b9a8316cd370ec125f1d02e031b3db25a1d5e9

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