views:

14

answers:

1

I want to run this same code for several mailers in an ActionMailer class. How can I achieve it?

A: 

Put the shared code in a module. Include that module in each of the mailer classes.

Michael Melanson