# NewsLetter in RoR

**URL:** <https://www.ruby-forum.com/t/newsletter-in-ror/127439>\
**Category:** Rails\
**Created:** [January 29, 2008, 6:45am UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439 "2008-01-29T06:45:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 29, 2008, 6:45am UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439/1 "2008-01-29T06:45:59Z")

</div>

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 P.

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 29, 2008, 7:03am UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439/2 "2008-01-29T07:03:57Z")

</div>

Dhaval P. 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 P.

there is one which i found svn co  
[http://dev.gravityblast.com/svn/projects/radiant/extensions/newsletter/](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?

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 29, 2008, 10:53pm UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439/3 "2008-01-29T22:53:55Z")

</div>

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

On Jan 29, 6:12 am, Dhaval P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![dhaval\_parikh33](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Post date:** [January 29, 2008, 7:12am UTC](https://www.ruby-forum.com/t/newsletter-in-ror/127439/4 "2008-01-29T07:12:44Z")

</div>

Dhaval P. wrote:

> Dhaval P. 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 P.
> 
> there is one which i found svn co  
> [http://dev.gravityblast.com/svn/projects/radiant/extensions/newsletter/](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
