We just set up a daemon (http://railscasts.com/episodes/129-custom-daemon), which is the same idea, but it runs inside your app's environment. To send an email from our app, we just add a row to a table. Then the daemon wakes up every minute, clears out that table, and sends the email.
On Sat, Jan 15, 2011 at 12:50 PM, Amy Eastwood <amy.eastwo...@gmail.com> wrote: > In pre Rails 3 world I was using ar_sendmail to queue up emails. Then > I would setup a cron job every few minutes to deliver the emails. But > that doesn't work perfectly in Rails 3. What is the best way to > deliver emails in production environment in Rails 3? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.