How to set header From in 'Emails on push' service
Created by: Alexhha
Hello,
I'm currently using Gitlab 8.2.0 on CentOS 6. I have enabled 'Emails on push' service in project settings. When someone push changes to the project I receives email notification but in mail header FROM i see strange value - 'Administrator '. I'm not using 'Send from committer' options in the 'Emails on push' service.
Date: Wed, 25 Nov 2015 17:25:58 +0000
From: Administrator <example@example.net>
Reply-To: noreply@example.net
To: user@example.com
Message-ID: <5655ef266a5a3_4c7b133c8306186@ci.example.net.mail>
Subject: [Git][email/notifications-test][develop] 123
I have the following gitlab.rb settings
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'example@example.net'
gitlab_rails['gitlab_email_display_name'] = 'GITLAB-INFO'
gitlab_rails['gitlab_email_reply_to'] = 'noreply@example.net'
Is it possible to get in FROM header something like the following?
From: GITLAB-INFO <example@example.com>
Thanks in advance