demarches-normaliennes/app/mailers/welcome_mailer.rb

10 lines
200 B
Ruby
Raw Normal View History

2015-12-14 16:09:20 +01:00
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