In this project, we have created a website that helps teachers send direct messages to student's parents. For this, we have used HTML and CSS for the front-end, PHP for the back-end, and for the dynamic update for the notices we have used JAVASCRIPT.
- You must have any server installed on your PC. In my case it was XAMPP.
- You have to create a database name "ptp" and upload the sql file provided.
- For sending mails, you have to configure 2 files which are located in php and sendmail folder, under xampp folder.
- Go to
C:/xampp/php/php.ini
file, open it in any code editor, edit the code as shown below:SMTP=smtp.gmail.com smtp_port=587 sendmail_from=YOUR-EMAIL-ADDRESS sendmail_path ="\"C:\xampp\sendmail\sendmail.exe\" -t"
- Go to
C:/xampp/sendmail/sendmail.ini
file, open it in any code editor, edit the code as shown below:SMTP=smtp.gmail.com smtp_port=587 error_logfile=error.log debug_logfile=debug.log auth_username=YOUR-EMAIL-ADDRESS auth_password=YOUR-EMAIL-ADRESS-PASSWORD force_sender=YOUR-EMAIL-ADDRESS
- Now, you have to make that gmail account less secure so that php can use that to send mails.
- Last step, some of the php files you have to configure all "YOUR-EMAIL-ADDRESS" text to your particular email-address.
- Complete form validation and authentication.
- If the user forgets the password, added forgot-password form to reset the password.
- Password is stored in encrypted format.
- Notices we be refresh automatically after 2 mins without reloading the page.
- Dynamic search bar.
- Easy to use and best user experience.
Feel free to mail me at my email address varshilshah1004@gmail.com for any queries.