diff options
Diffstat (limited to 'app/mailers/emails/service_desk.rb')
-rw-r--r-- | app/mailers/emails/service_desk.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/mailers/emails/service_desk.rb b/app/mailers/emails/service_desk.rb index f2327239699..e75882073f2 100644 --- a/app/mailers/emails/service_desk.rb +++ b/app/mailers/emails/service_desk.rb @@ -86,6 +86,18 @@ module Emails email_with_layout(to: recipient, subject: subject) end + def service_desk_verification_result_email(service_desk_setting, recipient) + @service_desk_setting = service_desk_setting + @verification = @service_desk_setting.custom_email_verification + + subject = format(s_("Notify|Verification result for custom email %{email} for %{project_name}"), + email: @service_desk_setting.custom_email, + project_name: @service_desk_setting.project.name + ) + + email_with_layout(to: recipient, subject: subject) + end + private def setup_service_desk_mail(issue_id) |