The Student Leave Warning System is a CLI-based project built using Python and SMTP to automate the process of sending warning emails to students when they exceed a set leave limit. The project helps track student leaves and automatically sends a warning email if the leave count exceeds 3. The system features a simple command line interface for student input, automatic email notifications, and uses SMTP for email notifications. The project is easily customizable and extendable, making it a great starting point for further development. The system works by prompting the student to enter their name, subject, and total leaves taken, and then checks if the leave count exceeds 3. If the leave count is exceeded, the program triggers an email warning using Python's smtplib. The email notification is sent to the student's registered email, informing them that they have exceeded the allowed leave limit. To get started with the project, users need to clone the repository, install dependencies, configure SMTP settings, and run the program. The project has potential for future improvements, such as storing leave records in a database, adding a GUI interface, and enabling multiple email provider support. The complete source code for the project is available on GitHub, and it serves as a great example of how Python can automate repetitive tasks like sending email notifications.
dev.to
dev.to
Create attached notes ...
