Hi all,
We have to send mail at a particular time for a bunch of users. Is there any method in Action Mailer which will deliver mail at a particular time?
Hi all,
We have to send mail at a particular time for a bunch of users. Is there any method in Action Mailer which will deliver mail at a particular time?
No, but there are a lot of "cron-like" gems for Rails. Or you can use cron itself. http://backgroundrb.rubyforge.org/
Walter
delayed_job is a popular gem for this (there are many others that are worthwhile as well) and if you go the cron route I highly recommend whenever, a ruby gem that lets you manage cron jobs from within your Rails project - really nicely done gem.
Max