05-09-2025==05-09-2025===2025-09-05select ifnull(count(*),0) nwd from EMPMILL12.tbl_non_working_days tnwd where is_active=1 and non_working_date='2025-09-05'
select ifnull(count(*),0) nwd from EMPMILL12.tbl_non_working_days tnwd where is_active=1 and non_working_date>= DATE_SUB('2025-09-05', INTERVAL 10 DAY)29UPDATE EMPMILL12.tbl_hrms_absent_warning_data thawd SET join_tag = 1, close_tag = 1 WHERE thawd.eb_id IN ( SELECT k.eb_id FROM ( SELECT eb_id, MAX(pdate) AS pdate FROM ( SELECT eb_id, MAX(attendance_date) AS pdate FROM daily_attendance da WHERE company_id = 2 AND is_active = 1 AND attendance_date = '2025-09-05' GROUP BY eb_id UNION ALL SELECT eb_id, MAX(ltd.leave_date) AS pdate FROM leave_transactions lt JOIN leave_tran_details ltd ON lt.leave_transaction_id = ltd.ltran_id WHERE lt.company_id = 2 AND ltd.is_active = 1 AND ltd.leave_date = '2025-09-05' GROUP BY eb_id UNION ALL SELECT eb_id, MAX(tdra.ret_attend_date) AS pdate FROM EMPMILL12.tbl_daily_ret_attendance tdra WHERE company_id = 2 AND is_active = 1 AND ret_attend_date = '2025-09-05' GROUP BY eb_id ) AS g GROUP BY eb_id ) AS k WHERE k.pdate IS NOT NULL )2025-09-06 03:40:29 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP d9443c01a7336-24d17d6b694sm32159505ad.136 - gsmtp
2025-09-06 03:40:29 CLIENT -> SERVER: EHLO 13.126.47.172
2025-09-06 03:40:29 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [13.126.47.172]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2025-09-06 03:40:29 CLIENT -> SERVER: STARTTLS
2025-09-06 03:40:29 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2025-09-06 03:40:29 CLIENT -> SERVER: EHLO 13.126.47.172
2025-09-06 03:40:30 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [13.126.47.172]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2025-09-06 03:40:30 CLIENT -> SERVER: AUTH LOGIN
2025-09-06 03:40:30 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2025-09-06 03:40:30 CLIENT -> SERVER: [credentials hidden]
2025-09-06 03:40:30 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2025-09-06 03:40:30 CLIENT -> SERVER: [credentials hidden]
2025-09-06 03:40:30 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. For more information, go to535 5.7.8 https://support.google.com/mail/?p=BadCredentials d9443c01a7336-24d17d6b694sm32159505ad.136 - gsmtp
2025-09-06 03:40:30 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. For more information, go to535 5.7.8 https://support.google.com/mail/?p=BadCredentials d9443c01a7336-24d17d6b694sm32159505ad.136 - gsmtp
SMTP Error: Could not authenticate.
2025-09-06 03:40:30 CLIENT -> SERVER: QUIT
2025-09-06 03:40:31 SERVER -> CLIENT: 221 2.0.0 closing connection d9443c01a7336-24d17d6b694sm32159505ad.136 - gsmtp
SMTP Error: Could not authenticate.
Message could not be sent. Mailer Error: SMTP Error: Could not authenticate.File has been deleted