demarches-normaliennes/app/mailers/welcome_mailer.rb
2015-12-14 16:09:20 +01:00

9 lines
200 B
Ruby

class WelcomeMailer < ApplicationMailer
def welcome_email user
@user = user
mail(from: "tps@apientreprise.fr", to: user.email,
subject: "Création de votre compte TPS")
end
end