priyankasawant Posted November 3, 2009 Share Posted November 3, 2009 I am trying to do one website in php. I want to send email to remind clients whose work is pending and deposit is getting zero. so what will be the code for it plz someone help me Quote Link to comment Share on other sites More sharing options...
milesap Posted November 3, 2009 Share Posted November 3, 2009 You would need two things: 1) A script which is capable of checking to see which account balance is about to reach zero, and to send an email to that person. (I'm not going to write the code, I'll assume that parts not difficult) 2) Setup a cronjob on the server (ask your administrator if you don't know where that is). Set the cronjob to run the script every, say, 6 hours. Quote Link to comment 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.