0

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?

Peter Bratton
  • 6,302
  • 6
  • 39
  • 61
  • 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 Answers1

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.