Ronathan
Ronathan

Reputation: 634

Sending an e-mail at a later date in RoR

I am a bit new to Rails and have been trying to figure out how to use workers and jobs to send an e-mail at a later date. Currently, I've incorporated a regular mailer to send confirmation emails to new users in my application. However, I'm trying to find a way to send e-mails at a later date as well.

I know this question has been asked a lot on SO, but can anyone guide me on how to actually do this? I have tried using the delayed_jobs gem and resque/redis, but the documentation hasn't been updated for a year.

Upvotes: 0

Views: 61

Answers (1)

gerky
gerky

Reputation: 6417

Why not use a cron to send those mails? If you're already familiar with sending out mails, scheduling your mailouts should be easy. Check out whenever gem.

To make things even easier, here's the railscast.

Upvotes: 1

Related Questions