# Mailer\_behavior or Extensions

**URL:** <https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863>\
**Category:** Radiant CMS\
**Created:** [November 13, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863 "2006-11-13T22:24:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [November 13, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/1 "2006-11-13T22:24:43Z")

</div>

Hi everyone,

I need tell-a-friend (send email) functionality on a site. I’m trying  
to figure  
out if I should work on getting the Mailer\_bahavior to work with 0.5.2  
on my  
site or look into using Extensions in Mental branch.

Thoughts?

I also have a couple of forms that I’ll need to process as well.  
Originally, I  
was thinking Behaviors, but now I’m wondering if “Extensions” is the  
future?

Todd M

---

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [January 6, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/2 "2007-01-06T23:30:30Z")

</div>

HI Todd,

I have not seen a response to this thread. Did you use the mental branch  
and the mailer\_behavior?

- Rick

---

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [January 6, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/3 "2007-01-06T23:33:30Z")

</div>

I have ported the mailer behavior to the mental branch as an extension,  
with some small added functionality. I will be releasing it shortly.  
It is used extensively on www.kckcc.edu.

Sean C.  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [January 6, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/4 "2007-01-06T23:54:37Z")

</div>

Thanks Sean.

I’ll just keep working on other stuff for the site I’m working on. I  
assume that you modified the search behavior as well, since there is a  
search box.

- Rick

---

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [January 7, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/5 "2007-01-07T17:00:41Z")

</div>

Was there a post/reference someplace on converting behaviors to  
extensions? I  
thought there was, but I can’t find it now. Please advise.

In addition, other than searching through mailing list and reading  
source of  
current available extensions, is there some documentation started on the  
wiki?  
or someplace else?

Thanks in advance,  
Todd

---

<div class="post-metadata">

**Author:** ![Todd\_McGrath](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@Todd\_McGrath](https://www.ruby-forum.com/u/Todd_McGrath)\
**Post date:** [January 7, 2007, 12:14am UTC](https://www.ruby-forum.com/t/mailer-behavior-or-extensions/75863/6 "2007-01-07T00:14:32Z")

</div>

Rick H. wrote:

> Thanks Sean.
> 
> I’ll just keep working on other stuff for the site I’m working on. I  
> assume that you modified the search behavior as well, since there is a  
> search box.
> 
> - Rick

Yes, actually I used an older version, not the one based on  
acts\_as\_ferret, and stripped out the live-preview functionality. It’s  
not especially accurate, but it works “for now”.

Sean C.  
[seancribbs.com](http://seancribbs.com)
