Commit ccf2e48a2c957eb420dc92e914be045c00d72a53
1 parent
c0f6a932
Exists in
master
and in
4 other branches
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 < ActionMailer::Base |
16 | 16 | default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root |
17 | 17 | |
18 | 18 | default from: Gitlab.config.gitlab.email_from |
19 | + default reply_to: "noreply@#{Gitlab.config.gitlab.host}" | |
19 | 20 | |
20 | 21 | # Just send email with 3 seconds delay |
21 | 22 | def self.delay | ... | ... |