Class: Refinery::Contacts::ContactMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/refinery/contacts/contact_mailer.rb

Instance Method Summary collapse

Instance Method Details

#contact_form(mail_message) ⇒ Object



5
6
7
8
9
10
11
12
# File 'app/mailers/refinery/contacts/contact_mailer.rb', line 5

def contact_form(mail_message)
  @mail_message= mail_message

  mail :from => @mail_message.sender_mail ,
       :to   => @mail_message.recipient_mail ,
       :subject => @mail_message.subject

end