NewsLetter in RoR

Hello frnds

I require some newsletter plugin to be implemented on my site...Do let me know how to implement it..if there is a plugin of ref site it would be gr8

thanks a lot

Dhaval Parikh

Dhaval Parikh wrote:

Hello frnds

I require some newsletter plugin to be implemented on my site...Do let me know how to implement it..if there is a plugin of ref site it would be gr8

thanks a lot

Dhaval Parikh

there is one which i found svn co http://dev.gravityblast.com/svn/projects/radiant/extensions/newsletter/ but this is for radiant..so i just want to confirm if it works only on rails or ne others too?

Dhaval Parikh wrote:

Dhaval Parikh wrote:

Hello frnds

I require some newsletter plugin to be implemented on my site...Do let me know how to implement it..if there is a plugin of ref site it would be gr8

thanks a lot

Dhaval Parikh

there is one which i found svn co http://dev.gravityblast.com/svn/projects/radiant/extensions/newsletter/ but this is for radiant..so i just want to confirm if it works only on rails or ne others too?

sorry it works only on "radiantcms" not "rails" by mistake i wrote rails instead of radiant cms

A newsletter system is not usually implemented through a plugin, since plugins seem to be better for extending the functionality of classes, whereas a newsletter system would require views, controllers etc

Taking a peek at the source for the aforementioned extension of radient, it looks pretty much like a standard rails app, so you can grab most of the code from it, or use it as the basis for your own.

The main consideration when making a newsletter system is the bulk sending of mail, something rails isn't very good at due to the single- threadedness of its implementation. The ar_mailer gem is a good solution to this, which pushes the emails into a table in the database and uses a separate daemon to send the messages in batches.

The other consideration is some kind of knowledge of sending/receipt, so you probably want to catch the bounced emails in your mail server with a reply-to header that identifies the original recipient. (see the NewsletterLog model for more verification stuff). Don't forget standard stuff like SPF records and reigstering your mail server address properly to ensure you mail actually gets through.

The rest is just simple Rails CRUD, you should be able to knock something up in an hour or so pretty easily.

Joe