read hotmail after appointment request

This commit is contained in:
2025-06-28 12:56:42 +02:00
parent 62cdb55da2
commit 343a14f6a2
2 changed files with 17 additions and 6 deletions
+5 -4
View File
@@ -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):