class DeviseMailer < Devise::Mailer
  default from: "GitLab <#{Gitlab.config.gitlab.email_from}>"
  default reply_to: Gitlab.config.gitlab.email_reply_to
end

class DeviseMailer < Devise::Mailer
  default from: "#{Gitlab.config.gitlab.email_display_name} <#{Gitlab.config.gitlab.email_from}>"
  default reply_to: Gitlab.config.gitlab.email_reply_to
end

Use the configured display name in e-mails from Devise mailer
Use the configured display name in e-mails from Devise mailer
