# Dealing with \*a lot\* of Mailers

**URL:** <https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540>\
**Category:** Rails\
**Created:** [February 17, 2006, 4:52am UTC](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540 "2006-02-17T04:52:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 17, 2006, 4:52am UTC](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540/1 "2006-02-17T04:52:31Z")

</div>

Anybody here deal with “a lot” of ActionMailers ?

I have a lot of places within my application that send out emails to  
various  
parties.  
My /views directory has a directory for each type of mail… ie:  
new\_user\_mailer/  
forgot\_password\_mailer/  
…etc

The /views directory is getting quite full of directories because of  
this,  
and I’ve tried working some  
magic to get the views pushed into a generic /mailer parent folder, but  
to  
no avail.

Anybody else run into this ? Or, am I just about completely retarded ?

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 17, 2006, 6:19am UTC](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540/2 "2006-02-17T06:19:16Z")

</div>

I have many different types of mail templates, but they’re all in  
app/views/notifier, with a single notifier model.

Joe

---

<div class="post-metadata">

**Author:** ![Dylan\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/34f0e0/32.png) [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Post date:** [February 17, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/dealing-with-a-lot-of-mailers/69540/3 "2006-02-17T20:20:11Z")

</div>

That makes sense. I just condensed everything into a nice logical  
model/view. Thanks Joe !
