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.