mail_parser.py aktualisiert
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
This commit is contained in:
@@ -159,6 +159,7 @@ def main():
|
||||
|
||||
for num in unread_emails:
|
||||
status, data = mail.fetch(num, "(RFC822)")
|
||||
mail.store(id, '-FLAGS', '\Seen')
|
||||
if status != "OK":
|
||||
print(f"Failed to fetch email ID {num}.")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user