22850 Posts in 9874 Topics by 2803 members
|Go to End|
28 October 2011 at 6:17pm
Sorry for posting this, but google searching didn't yield much information...
I'm trying to set up an automated mailing system which grabs all the emails from Members associated with an Event (using UncleCheese's Event Calendar), and sends them a notification about the event one day before the event is due to occur.
I'm thinking I can do this:
- Set up a Mail_Controller.php file in SS with a function to grab all events within one day forward of the current DateTime, get all emails from the members on that event, send out mass mail to those emails.
- Use a cron job to call that function from that file every day at, for example, 1200 hours.
Would it be possible to do this, and, if so, what would be the best way of doing it? I'm new to Silverstripe and cron, so I'm quite clueless.
28 October 2011 at 10:07pm
You might want to look into https://github.com/ajshort/silverstripe-eventmanagement
Once this (and the about 4.34 billion related modules) are installed you'll find one that deals with email notifications to attendees a specfied period before hand. In addition there is tons of cool stuff in there.
|Go to Top|