Can I have one mailer for all? Would that be called application_mailer.rb
on 2011-03-08 19:38
On Mar 7, 11:53am, Paul Bergstrom <li...@ruby-forum.com> wrote: > Can I have one mailer for all? Would that be called > application_mailer.rb > Mailer names are pretty much arbitrary - even the _mailer extension is just a convention. The biggest downside to "put everything in one mailer" is the same one any "kitchen sink" file develops, namely a lack of structure. But there's no *technical* impediment to doing so... --Matt Jones
on 2011-03-08 20:59
On Tue, Mar 8, 2011 at 12:37 PM, Matt Jones <al2o3cr@gmail.com> wrote: > lack of structure. But there's no *technical* impediment to doing > so... > Yeah, I even went further and just parameteized one mailer method so that I could just pass in whatever text I wanted it to send to who I wanted to send it so.... not pretty but for internal stuff does the job.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.