Class: Mailer

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

Instance Method Summary collapse

Instance Method Details

#inquiry(message) ⇒ Object



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

def inquiry(message)
  @message = message
  mail(:reply_to => message.email, :from => message.email, :subject => "#{message.name} sent you a message from #{APP_CONFIG[:app_name]}.")
end