30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
from src import config
|
|
from src.mail.mail_sender import MailSender
|
|
|
|
store = "Hermès Paris Faubourg"
|
|
# store = "Hermès Paris George V"
|
|
# store = "Hermès Paris Sèvres"
|
|
# dest_email = "928490803@qq.com"
|
|
# dest_email = "1757344572@qq.com"
|
|
# dest_email = "392417782@qq.com"
|
|
# dest_email = "linghuili@hotmail.com"
|
|
dest_email = "panleicim@gmail.com"
|
|
# dest_email = "fanfan19810617@icloud.com"
|
|
# dest_email = "fanchunying323@163.com"
|
|
# dest_email = "lytlaure@gmail.com"
|
|
# dest_email = "arianezhangsn@yahoo.com"
|
|
# dest_email = "tranthu.ht1983@gmail.com"
|
|
# dest_email = "124652097@qq.com"
|
|
# dest_email = "sunrose75015@gmail.com"
|
|
# dest_email = "1340219934@qq.com" #小于
|
|
# dest_email = "lytlaure@gmail.com"
|
|
# dest_email = "m13805869912@163.com"
|
|
# dest_email = "tangliang0411@gmail.com"
|
|
contact_name = "LONG luji"
|
|
|
|
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
|
|
email_body = f.read()
|
|
print(email_body)
|
|
sender = MailSender(dest_email=dest_email, email_body=email_body, store=store, contact_name=contact_name)
|
|
print(sender.send().json)
|