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.post1.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sendmyl-4.3.post1.tar.gz
  • Upload date:
  • Size: 45.4 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.post1.tar.gz
Algorithm Hash digest
SHA256 4d0637f84e817a3e4af2e3769f7f525b534934c08d8f4b47793f4dddd8c46eef
MD5 8bbba7976f38ad84e6c20e7ee3223d38
BLAKE2b-256 6a6a28581db704968a187e47878a434c40a75a7d51a816a2dc931f16cfd1317d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sendmyl-4.3.post1-py3-none-any.whl
  • Upload date:
  • Size: 29.7 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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b51589eb72cbf7f41e8a2106107ee41f6f78decbe6d292ade68be259fdcd01f
MD5 ddbb28c26e859575ac1d731e56876bcd
BLAKE2b-256 f4cf426d2e03df94622a68a677b070167642522b9a5245edafab7bcb8d52d3d9

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