Kevin Pang
Kevin Pang

Reputation: 41442

Sending mass, customized emails from a Rails app hosted on Heroku

I want to be able to send a monthly email to users of my Rails app hosted on Heroku. However, the email must be customized based on each user's preferences. What's the best way to do this?

Upvotes: 0

Views: 356

Answers (1)

Tom Andersen
Tom Andersen

Reputation: 7200

Sendgrid does the grunt work. Of sending the emails. It's a paid add on.

Since heroku only allows 30 sec of work per request, you need to use a delayed_job or similar to send out all the emails.

You only need to run the worker on heroku when your job is running.

Upvotes: 1

Related Questions