I want to send some emails through
However, I want to send them before and after an event.
My concern is if this will actually work:
def one_week_before_run AtendeeMailer.delay(run_at: '8th October 2016'.to_datetime).mudrun_about_to_start(self) end def thank_you_note AtendeeMailer.delay(run_at: '18th October 2016'.to_datetime.end_of_day).thank_you(self) end
or should I choose another approach?