From ccf2e48a2c957eb420dc92e914be045c00d72a53 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 9 Dec 2013 16:36:21 +0200 Subject: [PATCH] Set noreply@HOSTNAME for reply_to field in all emails --- app/mailers/notify.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index 2f7be00..aec4c57 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -16,6 +16,7 @@ class Notify < ActionMailer::Base default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root default from: Gitlab.config.gitlab.email_from + default reply_to: "noreply@#{Gitlab.config.gitlab.host}" # Just send email with 3 seconds delay def self.delay -- libgit2 0.21.2