demarches-normaliennes/app/mailers/new_admin_mailer.rb
2017-06-13 10:35:33 +02:00

9 lines
229 B
Ruby

class NewAdminMailer < ApplicationMailer
def new_admin_email admin, password
@admin = admin
@password = password
mail(to: 'tech@tps.apientreprise.fr',
subject: "Création d'un compte Admin TPS")
end
end