liquidskin Posted October 11, 2010 Share Posted October 11, 2010 Hi all, I'm working on a concept and am confused how to handle the next phase. In short, I have a PHP file that accepts a users zip code in the URL and performs some logic to return some values. What I want to do is store user's email addresses with some preferences such as the time they would wish to receive an email if the PHP returns 'yes'. Because this logic is location based, some users will receive an email at 6AM, some at 7AM, some wont receive one at all. Is what I'm looking to do possible? I think I'd have to use cron jobs to kick this off, but I'm a little unsure of the general structure on this. If anyone has any examples or similiar experience with this sort of thing, I'd be super interested in hearing about it. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/215619-emailing-users-on-schedule/ Share on other sites More sharing options...
plznty Posted October 14, 2010 Share Posted October 14, 2010 Cron jobs for checking if its okay to send. Your going to have to have GMT+/- on every user to know the time zone so it can be adapted. Good luck with this. I don't personally see this is a good option. They can always go back in there inbox. Quote Link to comment https://forums.phpfreaks.com/topic/215619-emailing-users-on-schedule/#findComment-1122326 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.