简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM