idn_app/app/mailers/question_mailer.rb
Nicolas Bally 50a813bc31 suite
2016-08-01 17:59:47 +02:00

17 lines
440 B
Ruby
Executable File

class QuestionMailer < ActionMailer::Base
default from: "contact@idncommunication.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: "contact@idncommunication.com", :bcc => "info@nicolasbally.com" ,:reply_to => @contact.email, :subject => "Nouveau mail par le site"
end
end