musfirah Posted April 6, 2011 Share Posted April 6, 2011 Hello, I'm newbie in php. I would like to ask how to start writing php command in order to send due date alert via email. i'm successfully connect php with google smtp. the situation is like this. i would like to send notification to the user if the user is not return back the vessel to the laboratory before 5pm on the same day. Quote Link to comment https://forums.phpfreaks.com/topic/232830-php-coding-for-duedate-alert-system/ Share on other sites More sharing options...
monkeytooth Posted April 6, 2011 Share Posted April 6, 2011 Thats very little description for a need that sounds much larger than PHP. Sounds like you need a database to store times and dates in to then check against for a specific user, which will then shoot them off an email based on x amount of time prior to said return date. Which then will need some reference as to whether or not it was returned so its not sending emails constantly to anyone.. and the list of concept goes on from there.. Through the use of cron-jobs and PHP backed up with id say mySQL as your DB this is achievable without issue (aside from the actual time needed to put something like this together). Quote Link to comment https://forums.phpfreaks.com/topic/232830-php-coding-for-duedate-alert-system/#findComment-1197665 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.