ainoy31 Posted September 12, 2007 Share Posted September 12, 2007 Is it possible in php to automatically send an email out on someone's birthday? I mean without anyone clicking a button to do so? If so, please let me know. Much appreciation. Quote Link to comment https://forums.phpfreaks.com/topic/69040-automatically-send-email/ Share on other sites More sharing options...
ToonMariner Posted September 12, 2007 Share Posted September 12, 2007 yep - you will need a cron job. Quote Link to comment https://forums.phpfreaks.com/topic/69040-automatically-send-email/#findComment-347062 Share on other sites More sharing options...
DBookatay Posted September 12, 2007 Share Posted September 12, 2007 yep - you will need a cron job. Do you know of anywhere that shows code examples, or working demos? I want to have a similar function, if a user is on a mailing list... Quote Link to comment https://forums.phpfreaks.com/topic/69040-automatically-send-email/#findComment-347144 Share on other sites More sharing options...
hackerkts Posted September 12, 2007 Share Posted September 12, 2007 You can just wrote it out yourself, example on reminder.php inside the script just check today's date and do a query to search for user's birthday, if found then send an email. Quote Link to comment https://forums.phpfreaks.com/topic/69040-automatically-send-email/#findComment-347150 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.