This repository contains python scripts to automate small but repeatitive and tedious tasks.
- Automatic Certificate/Letter Generation
- Automatic Email Sending
- CSVs : Contains all CSV files used in the scripts.
- DesGenAuto : Contains all required files for creating certificates/letters for participants/members.
- SendEmails : Contains all required files for sending emails to the participants/members.
- Add your CSV file in the CSVs folder.
- Add your design and font files in the Desgins and Fonts folder under DesGenAuot directory.
- Figure out the required x and y coordinates for the text to be written on the certificate/letter.
- Update these coordinates in the DesGen.py script.
- Run the script using the command
python DesGen.py
. - The required png files will be generated and saved to Generated as well as Attachments folder under DesGenAuto directory and SendEmails directory respectively.
- Create the HTML Format emailing text for your email.
- Update the "from" field in the SendMail.py script.
- Run the script using the command
python SendMail.py
. Note : The script will ask you to login to your email account and give required permissions to create atoken.json
file for the first time. - The emails will be sent to the recipients, two mails per second at most.
- Information about the sent emails will be saved under Logs directory in the log file.
- After the completion of procedure DeleteAttachments.py and DelGen.py can be run to delete all files in the Generated and Attachments directory respectively.
For more information reach out to me at atharvsathe28704@gmail.com.
TheBug