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
+3 -3
View File
@@ -120,14 +120,14 @@
</tr>
<tr>
<td valign="top" style="padding-top: 15px;">You will be welcomed
on Dec 10, 2022 in our store at 42 avenue George V at 5:25
PM.
on Dec 11, 2022 in our store at 24 Faubourg Saint-Honoré at
3:25 PM.
</td>
</tr>
<tr>
<td valign="top" style="padding-top: 15px;">The given hour might
be subject to change. Please kindly follow up on your
appointment status on <a href="https://rendezvousparis.hermes.com/client/XARMBP">https://rendezvousparis.hermes.com/client/XARMBP</a>
appointment status on <a href="https://rendezvousparis.hermes.com/client/M6N2TZ">https://rendezvousparis.hermes.com/client/M6N2TZ</a>
</td>
</tr>
<tr>
+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()