[Python] How to schedule a daily email report with attachments in a DeepFace-based attendance...

Discussão em 'Python' iniciado por Stack, Abril 16, 2025.

  1. Stack

    Stack Membro Participativo

    I'm building a face recognition attendance system using DeepFace, with attendance logs exported to Excel and snapshots stored per detection. I plan to use Flask for the web UI and want to schedule daily email reports with attached Excel files and optional snapshot links.

    I've stored SMTP credentials in a .env file. The email should be sent at 18:00 every day automatically.

    How can I best implement this email scheduling in Python (preferably using Flask or background scheduler like APScheduler) while keeping things modular and secure?

    Continue reading...

Compartilhe esta Página