I need my rails
application to send automatic emails based on a project deadline. Please suggest a gem I need to use. Also, how do I setup SMTP
for that?
Asked
Active
Viewed 171 times
0

Peter Bratton
- 6,302
- 6
- 39
- 61

Raj creation
- 11
- 2
-
Here are what you wants may be helpful for you. [refer here][1] [1]: http://stackoverflow.com/questions/8401642/sending-mails-automatically-through-action-mailer-rails-3-1 – Bharat soni Feb 11 '14 at 07:49
1 Answers
0
For scheduling tasks, you can use resque gem. It uses redis to store the tasks. You can use something like resque-scheduler gem to enqueue tasks at a specific time.
As for smtp, I would suggest you to go for a service like mandrill. If you use mandrill, sending email is nothing more than making an api call.

Saurabh Goyal
- 51
- 3