clair_app/app/mailers/question_mailer.rb
Nicolas Bally e5fe161649 hostname
2020-10-10 08:16:30 +02:00

17 lines
421 B
Ruby
Executable File

class QuestionMailer < ActionMailer::Base
default from: "Pollen Concepts <contact@psychologue-regny-clair.fr>"
# 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: "nbally@olwen-capital.com",:reply_to => @contact.email.to_s, :subject => "[Contact site]"
end
end