This is a tool to send emails to your certificate recipients.
To use it, set up an account at sendgrid.com and add your API key to your environment:
export SENDGRID_API_KEY=’SG.123ABC’
Copy conf.sample.ini to conf.ini and edit it to include your issuer’s intruduction_url and cert_url the {} will be replaced with the cert filename from the distribution list. The introduction_email_body is a template where any $key will be replaced by key from the distribution list, $introduction_url and $qrcode can also be used. The cert_email_body works the same way but has $cert_url instead of $introduction_url.
Set up a venv:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Now you can send your issuer introduction emails:
python introduce.py
And your cert issuance emails:
python sendcert.py
Metadata
Release files for cert-mailer 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cert-mailer-0.0.4.tar.gz | 4.5 kB | Details |
Release files / cert-mailer-0.0.4.tar.gz
| Download URL | cert-mailer-0.0.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ccc7fd4136defec4a57ac7a8207b969d5cb3475ca32fc602152f5d7d2fe5f8b
|
|
BLAKE2b-256 checksum How to use checksums |
c0aef9f72742030cacfa0650f7de337557fa2a16c8c3c6cef9cfd8633d2da00e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
|