read hotmail after appointment request
This commit is contained in:
@@ -7,7 +7,7 @@ import time
|
||||
import pika
|
||||
|
||||
from db.mongo_manager import MONGO_STORE_MANAGER
|
||||
from mail.lan_mail_helper import check_mail
|
||||
from mail.lan_mail_helper import check_mail, check_all_need_to_check_emails
|
||||
from mail.mail_reader_all_contacts import find_links_to_validate_from_mail_list
|
||||
from models.ReserveResultPojo import ReserveResultPojo
|
||||
from models.contact_pojo import ContactPojo
|
||||
@@ -65,9 +65,10 @@ def is_open():
|
||||
|
||||
def check_ms_mails(_mail_list_filtered):
|
||||
print("check_ms_mails() called.")
|
||||
for _mail in _mail_list_filtered:
|
||||
if "outlook.com" in _mail.mail or "hotmail.com" in _mail.mail:
|
||||
check_mail(_mail.mail)
|
||||
check_all_need_to_check_emails()
|
||||
# for _mail in _mail_list_filtered:
|
||||
# if "outlook.com" in _mail.mail or "hotmail.com" in _mail.mail:
|
||||
# check_mail(_mail.mail)
|
||||
|
||||
|
||||
class AppointmentRequestSender(threading.Thread):
|
||||
|
||||
Reference in New Issue
Block a user