Simple lib to send mail
Project description
Justsendmail
Simple CLI tool to send mail using Python 3+
Installation
pip install justsendmail
# or with pipx:
pipx install justsendmail
and there's this too 💑:
nix run 'git+https://github.com/pschmitt/nixos-config#justsendmail' -- --help
Usage
$ justsendmail --help
Usage: justsendmail.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.2.tar.gz
(43.0 kB
view details)
Built Distribution
File details
Details for the file justsendmail-4.2.tar.gz
.
File metadata
- Download URL: justsendmail-4.2.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95917a2f15ff34018db1599bd621940a0f09e685422beb4a6c6be07e8b1f8b8 |
|
MD5 | c26f610881a163abe97f76dd4f2f10ca |
|
BLAKE2b-256 | 0d299ea5197f3d602982a15f9a967f41d4a0328a33b383c766e407248c9765e6 |
Provenance
The following attestation bundles were made for justsendmail-4.2.tar.gz
:
Publisher:
pypi.yaml
on pschmitt/justsendmail
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
justsendmail-4.2.tar.gz
- Subject digest:
b95917a2f15ff34018db1599bd621940a0f09e685422beb4a6c6be07e8b1f8b8
- Sigstore transparency entry: 145046548
- Sigstore integration time:
- Predicate type:
File details
Details for the file justsendmail-4.2-py3-none-any.whl
.
File metadata
- Download URL: justsendmail-4.2-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a5578d8d5f992558b11919666086bd8307a25089803408febdeca0cbb47bfd |
|
MD5 | f71dc5cecd4af4081b83264fe5673797 |
|
BLAKE2b-256 | 0e07e05140f21e76c426404efa0802877f708dff95e71a672154e87da69095e1 |
Provenance
The following attestation bundles were made for justsendmail-4.2-py3-none-any.whl
:
Publisher:
pypi.yaml
on pschmitt/justsendmail
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
justsendmail-4.2-py3-none-any.whl
- Subject digest:
98a5578d8d5f992558b11919666086bd8307a25089803408febdeca0cbb47bfd
- Sigstore transparency entry: 145046552
- Sigstore integration time:
- Predicate type: