Compare commits

..

No commits in common. "0f2df175840f4f975b0dd64470c0af58b7b9ef1b" and "2f3f1d9a132928e61486e48881d624afa21b1014" have entirely different histories.

2 changed files with 4 additions and 7 deletions

2
.gitignore vendored
View File

@ -160,4 +160,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
src/env.py config/env.py

View File

@ -1,11 +1,8 @@
# Configuration file with SMTP settings and CSV path settings
SMTP_SERVER = "smtp.example.com" SMTP_SERVER = "smtp.example.com"
SMTP_PORT = 25 SMTP_PORT = 25
SENDER_EMAIL = "santa@example.com" SENDER_EMAIL = "santa@example.com"
CSV_PATH = r"path\to\your\csv\files" # Path to the CSV files CSV_FILE_PATH = r"secret_santa_DB.csv"
CSV_PREFIX = r"secret_santa_DB" # Prefix for CSV files DRAW_PER_PERSON = 2 # Choose 1 or 2 recipients per person
HISTORY_YEARS = 2 # Number of past years to consider in the draw
DRAW_PER_PERSON = 2 # Number of recipients per person
# Email content # Email content
EMAIL_SUBJECT = "Secret Santa {year} Draw" EMAIL_SUBJECT = "Secret Santa {year} Draw"
@ -18,4 +15,4 @@ Feel free to use your imagination and make their Christmas magical!
Merry Christmas! Merry Christmas!
This email was sent automatically, please do not reply. This email was sent automatically, please do not reply.
""" """