title: How to configure email notifications in Redmine?
body: <p>I have installed Redmine in offline mode by using Bitnami and configured email notifications as follows, as says in <a href="http://www.redmine.org/projects/redmine/wiki/EmailConfiguration" rel="nofollow noreferrer">Redmine: Email Configuration</a></p>
  
  <p>My environment:</p>
  
  <pre><code>Environment:
      Redmine version     2.3.2.stable
      Ruby version        1.9.3-p231 (2012-05-25) [i386-mingw32]
      Rails version       3.2.13
      Environment         production
      Database adapter    Mysql2
      Redmine plugins:    no plugin installed
  </code></pre>
  
  <p>Part of configuration.yml:</p>
  
  <pre><code># default configuration options for all environments
  default:
    # Outgoing emails configuration (see examples above)
    email_delivery:
      delivery_method: :smtp
      smtp_settings:    
        address: ...here smtp.domain or ip of smtp- server...
        port: 25
        domain: ...some domain...
        authentication: :login
        user_name: ...name@domain...
        password: "..."
  </code></pre>
  
  <p>In the same domain runs the mail server.</p>
  
  <p>I requested my password from Redmine UI:</p>
  
  <p><img src="https://i.stack.imgur.com/3qfkl.png" alt="enter image description here"></p>
  
  <p>However, the message does not come.</p>
  
  <p>What I have in production.log:</p>
  
  <pre><code>Started POST "/redmine/account/lost_password" for 127.0.0.1 at 2013-08-22 21:38:21 +0400
  Processing by AccountController#lost_password as HTML
    Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"252n1tBNbFP/BzQ6spgzVTx/yKnltmhd9jHhzcgyTwU=", "mail"=&gt;"...name@domain...", "commit"=&gt;"Submit"}
    Current user: anonymous
    Rendered mailer/lost_password.text.erb within layouts/mailer (0.0ms)
    Rendered mailer/lost_password.html.erb within layouts/mailer (1.0ms)
  Redirected to http://localhost/redmine/login
  Completed 302 Found in 886ms (ActiveRecord: 68.0ms)
  Started GET "/redmine/login" for 127.0.0.1 at 2013-08-22 21:38:22 +0400
  Processing by AccountController#login as HTML
    Current user: anonymous
    Rendered account/login.html.erb within layouts/base (7.0ms)
  Completed 200 OK in 20ms (Views: 16.0ms | ActiveRecord: 1.0ms)    
  </code></pre>
  
  <p>When I tested this configuration outside the intranet, I used the gmail. Part of configuration.yml:</p>
  
  <pre><code># default configuration options for all environments
  default:
    # Outgoing emails configuration (see examples above)
    email_delivery:
      delivery_method: :smtp
      smtp_settings:    
        address: smtp.gmail.com
        port: 587
        domain: gmail.com
        authentication: :login
        user_name: ...name@gmail.com
        password: "..."
  </code></pre>
  
  <p>When I requested the password in this configuration, the message has come.</p>
  
  <p>message:</p>
  
  <pre><code>To change the password, click on the following link:
  http://localhost:3000/account/lost_password?token=dd36a006157cfa8d208ba11822c9283f14ef5f65
  
  User: alexey
  
  You have received this notification because you have either subscribed to it, or are involved in it.
  To change your notification preferences, please click here: http://hostname/my/account
  </code></pre>
  
  <p>What I see in production.log now:</p>
  
  <pre><code>Started POST "/redmine/account/lost_password" for 127.0.0.1 at 2013-08-22 22:09:40 +0400
  Processing by AccountController#lost_password as HTML
    Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"252n1tBNbFP/BzQ6spgzVTx/yKnltmhd9jHhzcgyTwU=", "mail"=&gt;"...name@domain...", "commit"=&gt;"Submit"}
    Current user: anonymous
    Rendered mailer/lost_password.text.erb within layouts/mailer (3.0ms)
    Rendered mailer/lost_password.html.erb within layouts/mailer (1.0ms)
  Redirected to http://localhost/redmine/login
  Completed 302 Found in 2769ms (ActiveRecord: 73.0ms)
  Started GET "/redmine/login" for 127.0.0.1 at 2013-08-22 22:09:43 +0400
  Processing by AccountController#login as HTML
    Current user: anonymous
    Rendered account/login.html.erb within layouts/base (4.0ms)
  Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 1.0ms)
  </code></pre>
  
  <p>So,</p>
  
  <ul>
  <li><p>If I use gmail, the message are sent and delivered</p></li>
  <li><p>If I use other, the message are not sent or sent but not delivered</p></li>
  </ul>
  
  <p>What I'm doing wrong? How to configure email notifications in Redmine?</p>