# Decent Implementation using ActionMailer

**URL:** <https://www.ruby-forum.com/t/decent-implementation-using-actionmailer/182076>\
**Category:** Rails\
**Created:** [January 22, 2010, 10:45am UTC](https://www.ruby-forum.com/t/decent-implementation-using-actionmailer/182076 "2010-01-22T10:45:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acgreen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3bc359/32.png) [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Post date:** [January 22, 2010, 10:45am UTC](https://www.ruby-forum.com/t/decent-implementation-using-actionmailer/182076/1 "2010-01-22T10:45:16Z")

</div>

I need to implement some email functionality to a web application and I  
was  
wondering if anyone has implemented a decent mail system and could  
possibly  
give me some tips. My initial designs are leaving me a bit cold.

In a nutshell, I’m thinking of giving the user the ability to create  
their  
own templates and allow them to send ad-hoc mails too. Mails  
()templates/ad-hoc) are either sent to everyone with an email address in  
the  
system, to a group of people by things such as Terms (semester), classes  
etc  
and to an individual.

How do you go about allowing the dynamic creation of templates (thinking  
about the dispatcher - design pattern? )

If anyone can offer some ideas, that’d be great.

CIA

-ants

–  
100% naturally selected. 0% designed.
