Gomesh Posted February 3, 2010 Share Posted February 3, 2010 Hi guys, Pls tell me, How can I send to the user automatically a mail on his birthday. Something like: When user_birthdate = today_date then send mail Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/190812-send-to-the-user-automatically-a-mail/ Share on other sites More sharing options...
premiso Posted February 3, 2010 Share Posted February 3, 2010 Either have a cron job that runs once a day every day (if on Linux) or a scheduled task (if on windows) that runs a query against the DB and sends a mail to all users on their birthday. Quote Link to comment https://forums.phpfreaks.com/topic/190812-send-to-the-user-automatically-a-mail/#findComment-1006211 Share on other sites More sharing options...
Gomesh Posted February 3, 2010 Author Share Posted February 3, 2010 please elaborate this i didn't understand. I want to implement on windows.. Quote Link to comment https://forums.phpfreaks.com/topic/190812-send-to-the-user-automatically-a-mail/#findComment-1006340 Share on other sites More sharing options...
dmikester1 Posted February 3, 2010 Share Posted February 3, 2010 Is this a website you are creating? Or is this just on your local computer? Quote Link to comment https://forums.phpfreaks.com/topic/190812-send-to-the-user-automatically-a-mail/#findComment-1006345 Share on other sites More sharing options...
Gomesh Posted February 4, 2010 Author Share Posted February 4, 2010 I am creating on my website.. Quote Link to comment https://forums.phpfreaks.com/topic/190812-send-to-the-user-automatically-a-mail/#findComment-1006631 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.