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. 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. 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.. 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? 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.. 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
Archived
This topic is now archived and is closed to further replies.