Class: BasicMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/basic_mailer.rb

Instance Method Summary collapse

Instance Method Details

#mail_from_params(options) ⇒ Object



3
4
5
6
7
# File 'app/mailers/basic_mailer.rb', line 3

def mail_from_params(options)
  options[:to] ||= MuckEngine.configuration.support_email
  options[:from] ||= self.class.default_from_email
  mail(options)
end