From e0d1cf968cbd0b9025e3a2a2d62ea2a8a27152bc Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Sun, 20 Oct 2024 17:10:50 +0000 Subject: [PATCH] Add the exemple env.py --- src/env.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/env.py diff --git a/src/env.py b/src/env.py new file mode 100644 index 0000000..49745ad --- /dev/null +++ b/src/env.py @@ -0,0 +1,18 @@ +SMTP_SERVER = "smtp.example.com" +SMTP_PORT = 25 +SENDER_EMAIL = "santa@example.com" +CSV_FILE_PATH = r"secret_santa_DB.csv" +DRAW_PER_PERSON = 2 # Choose 1 or 2 recipients per person + +# Email content +EMAIL_SUBJECT = "Secret Santa {year} Draw" +EMAIL_BODY = """ +Hello {name}, + +You have been chosen to give gifts to: {draws}. +Feel free to use your imagination and make their Christmas magical! + +Merry Christmas! + +This email was sent automatically, please do not reply. +""" \ No newline at end of file