idn_app/app/mailers/question_mailer.rb
Nicolas Bally b5690bc6f2 initial
2016-07-25 15:55:11 +02:00

17 lines
426 B
Ruby

class QuestionMailer < ActionMailer::Base
default from: "info@nicolasbally.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