Commit ccf2e48a2c957eb420dc92e914be045c00d72a53

Authored by Dmitriy Zaporozhets
1 parent c0f6a932

Set noreply@HOSTNAME for reply_to field in all emails

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/mailers/notify.rb
@@ -16,6 +16,7 @@ class Notify &lt; ActionMailer::Base @@ -16,6 +16,7 @@ class Notify &lt; ActionMailer::Base
16 default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root 16 default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root
17 17
18 default from: Gitlab.config.gitlab.email_from 18 default from: Gitlab.config.gitlab.email_from
  19 + default reply_to: "noreply@#{Gitlab.config.gitlab.host}"
19 20
20 # Just send email with 3 seconds delay 21 # Just send email with 3 seconds delay
21 def self.delay 22 def self.delay