demarches-normaliennes/app/mailers/new_admin_mailer.rb

11 lines
256 B
Ruby
Raw Normal View History

2016-02-23 16:51:24 +01:00
class NewAdminMailer < ApplicationMailer
def new_admin_email admin, password
@admin = admin
@password = password
mail(from: "tps@apientreprise.fr", to: 'tech@apientreprise.fr',
2016-02-23 16:51:24 +01:00
subject: "Création d'un compte Admin TPS")
end
end