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.1.tar.gz
(43.0 kB
view details)
Built Distribution
File details
Details for the file justsendmail-4.1.tar.gz
.
File metadata
- Download URL: justsendmail-4.1.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 | 7b16b4dada57e1629ea981c5347db82dba34193887ccb16ddfc79f60be49a8bc |
|
MD5 | 679ff8904d683d347559b82458948ff0 |
|
BLAKE2b-256 | 9d6d013139790e0cd67b9e566601ec6e95593afee1855daae24f91132736cbbf |
File details
Details for the file justsendmail-4.1-py3-none-any.whl
.
File metadata
- Download URL: justsendmail-4.1-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 | 61c68ab1baa77be3757686ea9a9fc43b8359c4af78936975c1c618d4b2139fe4 |
|
MD5 | ddd816c6a9a24c076d25e628c32796bd |
|
BLAKE2b-256 | 6cbd9ecc7b46a1b0db09a0bc7eb69a0406cdb57711e65fe14fd97e3a686e2aee |