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.
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:
- Do you know ActionMailer? Create an ActionMailer model.
- 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.
- Use cron to execute that script in intervals.
Robert,
Thank you for the information. I do not know ActionMailer but I will
check it out ASAP. Thank you for the help.