Is there a bulk email plugin for Rails apps?

爱⌒轻易说出口 提交于 2019-11-30 03:53:42

I don't know that this is the kind of thing that can be covered by a plugin as there are whole sites/applications dedicated to this kind of thing. If you wanted to use one of those then there is www.campaignmonitor.com, it's pretty good and it has an api that you can hook into from your application.

I couldn't find one so I wrote it myself. It's not pretty (at this stage), but should serve as a good starting point for anyone with similar needs.

Please send me a pull request if you make any beneficial changes and I'll make sure to give you credit.

Mailcar - Ruby on Rails mass / bulk email plugin

Update - I highly recommend using a service. Rolling your own is a real pain and it will be difficult to manage once your list becomes reasonably large at all.

You might want to take a look at postageapp.com

Not aware of any plugins for this and I don't know how rake could be used to do this, if at all.

Since you're using Rails, I assume you're using MySQL as your database so this may not be useful to you, but SQL Answers Mail for SQL Server sends bulk email directly from SQL Server. You could try searching for a tool that does something similar for the database you're using.

There's also a tutorial here and here on creating your own mailer.

use ActionMailer(tutorial) (docs), it comes with Rails and you should be able to rig it to run from a rake task.

There's a relatively new project called Maktoub which claims to be a Rails engine for email newsletters. I haven't tried it yet, but it looks promising.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!