16718: Merge branch 'master' into 16718-group-contents-collection-versions
[arvados.git] / services / api / app / mailers / profile_notifier.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class ProfileNotifier < ActionMailer::Base
6   default from: Rails.configuration.Users.AdminNotifierEmailFrom
7
8   def profile_created(user, address)
9     @user = user
10     mail(to: address, subject: "Profile created by #{@user.email}")
11   end
12 end