X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fde712e92ad33e03dfd79f5fca99d2005cdd0795..b6d7efab2c4bffa3fabd55b166e44cca8ac1391f:/services/api/app/mailers/profile_notifier.rb diff --git a/services/api/app/mailers/profile_notifier.rb b/services/api/app/mailers/profile_notifier.rb index 3863e8a621..849eefe8e1 100644 --- a/services/api/app/mailers/profile_notifier.rb +++ b/services/api/app/mailers/profile_notifier.rb @@ -1,8 +1,12 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class ProfileNotifier < ActionMailer::Base - default from: Rails.configuration.admin_notifier_email_from + default from: Rails.configuration.Users.AdminNotifierEmailFrom def profile_created(user, address) @user = user - mail(to: address, subject: 'Profile created') + mail(to: address, subject: "Profile created by #{@user.email}") end end