Skip to content

Instantly share code, notes, and snippets.

@petermanser
Last active September 9, 2016 19:48

Revisions

  1. petermanser renamed this gist Jul 31, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. petermanser renamed this gist Jul 31, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. petermanser revised this gist Jul 31, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gitlab.yml
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    ## Email settings
    # Email address used in the "From" field in mails sent by GitLab
    email_from: [email protected]
    email_from: [email protected]
  4. petermanser revised this gist Jul 30, 2013. 2 changed files with 7 additions and 9 deletions.
    2 changes: 0 additions & 2 deletions gitlab.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@


    ## Email settings
    # Email address used in the "From" field in mails sent by GitLab
    email_from: [email protected]
    14 changes: 7 additions & 7 deletions production.rb
    Original file line number Diff line number Diff line change
    @@ -3,11 +3,11 @@
    config.action_mailer.raise_delivery_errors = true

    config.action_mailer.smtp_settings = {
    :address => 'smtp.gmail.com',
    :port => 587,
    :domain => 'gmail.com',
    :user_name => '[email protected]',
    :password => 'password',
    :authentication => 'plain',
    :enable_starttls_auto => true
    :address => 'smtp.gmail.com',
    :port => 587,
    :domain => 'gmail.com',
    :user_name => '[email protected]',
    :password => 'password',
    :authentication => 'plain',
    :enable_starttls_auto => true
    }
  5. petermanser revised this gist Jul 30, 2013. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Gitlab 5.4 - Gmail configuration

    In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:

    Files:
    - config/environments/production.rb
    - config/gitlab.yml
  6. petermanser created this gist Jul 30, 2013.
    5 changes: 5 additions & 0 deletions gitlab.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@


    ## Email settings
    # Email address used in the "From" field in mails sent by GitLab
    email_from: [email protected]
    13 changes: 13 additions & 0 deletions production.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.perform_deliveries = true
    config.action_mailer.raise_delivery_errors = true

    config.action_mailer.smtp_settings = {
    :address => 'smtp.gmail.com',
    :port => 587,
    :domain => 'gmail.com',
    :user_name => '[email protected]',
    :password => 'password',
    :authentication => 'plain',
    :enable_starttls_auto => true
    }