mails blockchain certificates and introductions
Project description
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
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
File details
Details for the file cert-mailer-0.0.4.tar.gz
.
File metadata
- Download URL: cert-mailer-0.0.4.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccc7fd4136defec4a57ac7a8207b969d5cb3475ca32fc602152f5d7d2fe5f8b |
|
MD5 | 2086c60dcba750f4140444f517534c1e |
|
BLAKE2b-256 | c0aef9f72742030cacfa0650f7de337557fa2a16c8c3c6cef9cfd8633d2da00e |