Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Automated Email Notifications?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 471 Views
  • JonC
    Avatar
    Community Member
    8 Posts

    Automated Email Notifications? Link to this post

    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.

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Automated Email Notifications? Link to this post

    Hi jon,

    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.

    471 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.