pmr_app/app/mailers/question_mailer.rb
Nicolas Bally 184385129d contact
2016-02-18 23:10:57 +01:00

17 lines
430 B
Ruby

class QuestionMailer < ActionMailer::Base
default from: "contact@bouvier-signa.com"
# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:
#
# en.question.deliver.subject
#
def send_contact(contact)
@contact = contact
mail to: "test@nicolasbally.com", :bcc => "info@nicolasbally.com" ,:reply_to => @contact.email, :subject => "Nouveau mail par le site"
end
end