sjwspud Posted July 19, 2009 Share Posted July 19, 2009 I am working on a bulletin board PHP script, and want to find a good way to do a forum and topic subscription system. I think by having it send out an email to each subscribed user each time someone makes a reply or a new topic would cause a big overhead and too many emails in the user's inbox. What I want to do is something like a digest that takes all the topics and/or replies gathered over a certain amount of time and sends out the email with them all in it. I know this could be done with CRON tab, but if I am going to distribute this program, each user that even wants to use the digest feature would have to setup their CRON tab seperately. I noticed in some other bulletin board's code, they have some kind of cron functions made. I really don't want to rely on if someone accesses the bulletin board or not and that depends on if that email gets sent on time or not. How would I create such a thing? Link to comment https://forums.phpfreaks.com/topic/166462-how-could-i-process-subscriptions/ Share on other sites More sharing options...
Gighalen Posted July 19, 2009 Share Posted July 19, 2009 Are you saying that instead of an email being sent to a user every time a topic is posted, you want a single email to be sent out, say, every 24 hours with a list of the topics/replied posted?? Link to comment https://forums.phpfreaks.com/topic/166462-how-could-i-process-subscriptions/#findComment-877814 Share on other sites More sharing options...
sjwspud Posted July 19, 2009 Author Share Posted July 19, 2009 Yep thats correct Link to comment https://forums.phpfreaks.com/topic/166462-how-could-i-process-subscriptions/#findComment-877817 Share on other sites More sharing options...
ronnie88 Posted July 19, 2009 Share Posted July 19, 2009 okay so you just want a list or new subscriptions? just make a new table and insert into it and echo it out on a page... then after your done with all the names clear the db... Link to comment https://forums.phpfreaks.com/topic/166462-how-could-i-process-subscriptions/#findComment-877847 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.