ruby on rails - Using ActionMailer to send mail at chosen times? -
Therefore, I am trying to get my rail application to send special emails to the selected time, which is chosen by the user goes. Basically, the user types in the subject and body of the email in a form, and chooses a time-period to specify when he wants to send an email. All this information will be stored in a model.
How can I send an email to the specified date and time? I have tried to use gem, but I have not got much success.
Should I use cron jobs? Or is there a gem there especially suitable for this task? Appreciate any help!
Take a look or
Comments
Post a Comment