Hello everyone, I am not sure if this question belongs here but I will take my chances. I am creating a little app to keep track of my homework and when it is due, and I would like to send myself email reminders within x amount of the due time. What suggestions do you have for accomplishing this? I am running the latest versions of Ruby and Rails on a Fedora Core 5 box with qmail. Thanks for the help and/or pointing me in the right direction. - The Florida Tek Monkey
on 2006-03-23 22:58
on 2006-03-24 00:19
I'll just point you to the right direction, because I'm a little bit busy. It probably won't help you get up and running, but it will give you a general overview: 1) Do you know ActionMailer? Create an ActionMailer model. 2) Create a script that requires your Rails environment (require "dir_to_your_rails_project/config/environment"), and that pulls all the homework that is due from the database, and then sends the email using ActionMailer. 3) Use cron to execute that script in intervals.
on 2006-03-24 02:21
Robert, Thank you for the information. I do not know ActionMailer but I will check it out ASAP. Thank you for the help. - Rob Dempsey