Allow to configure smtp and sendmail in gitlab.yml

王权利请求将github/fork/jirutka/email-settings合并到master

Created by: jirutka

Since almost all GitLab settings are configured in gitlab.yml, it’s very inconvenient to configure SMTP server in config/initializers/smtp_settings.rb.

I’ve named it explicitly outgoing_emails, because I assume that you may someday implement an ability to respond to emails from GitLab and then you’ll need to distinguish these settings.

合并请求报告