diff options
author | Stan Hu <stanhu@gmail.com> | 2015-03-25 20:17:24 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-04-03 06:47:54 -0700 |
commit | 81a5a9713d69c738912d27cb10e74577aa4f4978 (patch) | |
tree | 4a2379fbf18354765504595bf5c783c623f1cce8 /app/mailers | |
parent | 2a0d38c03fa20979a92597fdff18989c2b8e106b (diff) | |
download | gitlab-ce-81a5a9713d69c738912d27cb10e74577aa4f4978.tar.gz |
Add ability to configure Reply-To address in gitlab.yml
Closes #1305
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/notify.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notify.rb b/app/mailers/notify.rb index 8fcdd3bc853..0c186ab5866 100644 --- a/app/mailers/notify.rb +++ b/app/mailers/notify.rb @@ -19,7 +19,7 @@ class Notify < ActionMailer::Base default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root default from: Proc.new { default_sender_address.format } - default reply_to: "noreply@#{Gitlab.config.gitlab.host}" + default reply_to: Gitlab.config.gitlab.email_reply_to # Just send email with 2 seconds delay def self.delay |