Cli tool for send mail over sendgrid
Project description
mail-sendgrid
mail-sendgrid --help
Usage: mail-sendgrid [OPTIONS]
Cli tool for send mail over sendgrid.
Options:
-f, --from EMAIL Email address to send from. [required]
-t, --to EMAIL/FILE Email address or file with address, recipient to
receive of this email. [multiple] [required]
--cc EMAIL/FILE Email address or file with address, recipient to
receive a copy of this email. [multiple]
--bcc EMAIL/FILE Email address or file with address, recipient to
receive a blind carbon copy of this email.
[multiple]
-s, --subject SUBJECT Email subject. [required]
-c, --content TEXT/FILE Email content, support jinja2 template. [required]
-a, --attachment FILE Email attachment. [multiple]
--var KEY VALUE Jinja2 template variable. [multiple]
--variable-yaml FILE Jinja2 template variables in YAML format.
[multiple]
--nl2br Replace all new line with br tag.
--no-send Skip send, print rendered content.
--apikey APIKEY Sendgrid api key or use env: SENDGRID_API_KEY.
[required]
--version Show the version and exit.
-v, --verbosity LVL Either CRITICAL, ERROR, WARNING, INFO or DEBUG
--help Show this message and exit.
Development
git clone git@github.com:hardwario/mail-sendgrid.git
cd mail-sendgrid
sudo python3 setup.py develop
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mail-sendgrid-1.1.0.tar.gz
(4.8 kB
view details)
File details
Details for the file mail-sendgrid-1.1.0.tar.gz
.
File metadata
- Download URL: mail-sendgrid-1.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8388044442862d7aea7ab2417ee919b6b6b95dd7c137a32bb27ae35e7221d4f6 |
|
MD5 | 2321e3839430f28166e8aadc50931ed2 |
|
BLAKE2b-256 | d3ea8b30a990d425e6a0a6b35c198eef438554ef9f103b1b889b75884116be0b |