Override the mailer name, which defaults to an inflected version of the mailer’s class name. If you want to use a template in a non-standard location, you can use this to specify that location.
Source Code
# File action_mailer/base.rb, line 323 def mailer_name(value = nil) if value self.mailer_name = value else self.class.mailer_name end end
<code/>and<pre/>for code samples.