X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/85ee7f10d6aa8084da51a388011395c080842c70..cf1dcfb8715822f7ac5fe4fce067197dd84bad54:/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