Do checkout Full video on dev@127.4.7.8
-
Clone the Repository
git clone https://github.com/Dev-0618/CertiMailer cd CertiMailer
-
Install Dependencies
pip install -r requirements.txt
-
Update File Paths and Values
-
cert.py
:- Set the template path:
template/certificate.png
. - Update font:
font/cert_font.ttf
. - Adjust text placement (
text_x
,text_y
): Use an editor to find the correct coordinates. - Ensure
output/
folder exists for generated certificates.
- Set the template path:
-
send-email.py
:- Ensure
participants.csv
has Name and Email columns. - Verify
output/{name}_certificate.png
for correct certificate paths. - Credentials (email & app password) will save to
cred.txt
after first run.
- Ensure
-
-
Run Certificate Generator
python cert.py
-
Send Emails
python send-email.py
Note: Customize paths, font, and placement values in the scripts as needed. Refer to your template for alignment and folder structure.