add the possibility to send email

This commit is contained in:
2022-12-11 02:24:47 +01:00
parent b0bf8a0684
commit d06d6f1472
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -9,10 +9,10 @@ api_key = "489274f04d5c155f81370fccc3904e20"
api_secret = "edac41f0e1726ba49808dfb12204ecd6"
mailjet = Client(auth=(api_key, api_secret), version='v3.1')
from_email = "panleicim@gmail.com"
# store = "Hermès Paris Faubourg"
store = "Hermès Paris George V"
dest_email = "panleicim@gmail.com"
contact_name = "LUO Meiling"
store = "Hermès Paris Faubourg"
# store = "Hermès Paris George V"
dest_email = "124652097@qq.com"
contact_name = "WEI junhong"
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
email_body = f.read()