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 Link to comment https://forums.phpfreaks.com/topic/180069-how-to-send-automatic-mail-to-remind-clients-whose-deposit-is-getting-zero/ 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. Link to comment https://forums.phpfreaks.com/topic/180069-how-to-send-automatic-mail-to-remind-clients-whose-deposit-is-getting-zero/#findComment-949945 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.