Merge branch 'master' of git.lpaconsulting.fr:panleicim/appointment_tool
This commit is contained in:
+3
-2
@@ -5,7 +5,7 @@ pandas~=1.3.5
|
|||||||
playwright==1.28.0
|
playwright==1.28.0
|
||||||
dataclasses~=0.6
|
dataclasses~=0.6
|
||||||
SpeechRecognition==3.8.1
|
SpeechRecognition==3.8.1
|
||||||
pymongo==4.1.1
|
pymongo==4.12.0
|
||||||
wget==3.2.0
|
wget==3.2.0
|
||||||
pocketsphinx==0.1.15
|
pocketsphinx==0.1.15
|
||||||
XlsxWriter~=3.0.3
|
XlsxWriter~=3.0.3
|
||||||
@@ -18,4 +18,5 @@ Mako~=1.2.0
|
|||||||
mailjet_rest~=1.3.4
|
mailjet_rest~=1.3.4
|
||||||
Flask~=2.2.2
|
Flask~=2.2.2
|
||||||
flask_httpauth~=4.7.0
|
flask_httpauth~=4.7.0
|
||||||
APScheduler~=3.9.1
|
APScheduler~=3.9.1
|
||||||
|
imapclient
|
||||||
@@ -224,7 +224,6 @@ def find_confirmation_contacts_mail_list(mail_list):
|
|||||||
|
|
||||||
|
|
||||||
def read_mails_and_find_confirmation_contacts(all_mails=False):
|
def read_mails_and_find_confirmation_contacts(all_mails=False):
|
||||||
# mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
|
||||||
if all_mails:
|
if all_mails:
|
||||||
mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
mail_list = MONGO_STORE_MANAGER.get_destination_emails()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class Mailer:
|
|||||||
|
|
||||||
def send_email(self, result: AcceptedResultPojo, to_all: bool = False):
|
def send_email(self, result: AcceptedResultPojo, to_all: bool = False):
|
||||||
if to_all:
|
if to_all:
|
||||||
recipients = ['panleicim@gmail.com', 'tangliang0411@gmail.com']
|
recipients = ['yulin_huang680730@gmx.com', 'tangliang0411@gmail.com']
|
||||||
else:
|
else:
|
||||||
recipients = ['panleicim@gmail.com']
|
recipients = ['panleicim@gmail.com']
|
||||||
# result.phone = str(result.phone.replace(".0", "")
|
# result.phone = str(result.phone.replace(".0", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user