Project

General

Profile

Actions

Defect #8412

closed

email configuration in trunk, rev 5857

Added by Ivan Cenov over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2011-05-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I started a thread in the forum about not working email configuration in trunk, rev 5857. The email configuration in config/configuration.yml does not work. I found a solution by reverting to the old 1.1.x email.yml, that I copied in the trunk's work copy.

Please see the thread for more information.


Files

configuration-ok.yml (5.27 KB) configuration-ok.yml this file works Ivan Cenov, 2011-05-21 20:13
configuration-not-ok.yml (5.29 KB) configuration-not-ok.yml this file does not work Ivan Cenov, 2011-05-21 20:13
Actions #1

Updated by Etienne Massip over 13 years ago

config/configuration.yml works for me with trunk when configured in :default "section", didn't try :production.

Actions #2

Updated by Ivan Cenov over 13 years ago

tested right now:
it works in :default section
in doesn't work in :production section

Actions #3

Updated by Etienne Massip over 13 years ago

Can't reproduce, could you please post your file ?

Actions #4

Updated by Ivan Cenov over 13 years ago

command line:

D:\biz\apps\redmine_trunk>ruby script\server -e production
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-05-21 21:07:07] INFO  WEBrick 1.3.1
[2011-05-21 21:07:07] INFO  ruby 1.8.7 (2010-08-16) [i386-mingw32]
[2011-05-21 21:07:07] INFO  WEBrick::HTTPServer#start: pid=7116 port=3000

Actions #5

Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid
In configuration-not-ok.yml, you have duplicated the "production" section. The last one at the end of the file (which is empty) overrides the first one. You have to either:
  • remove the production section at the end
  • or move your email configuration for production at the end.
production:
  email_delivery:
    ...

production:               <====== duplicates the first "production" section
Actions #6

Updated by Ivan Cenov over 13 years ago

Thanks,

p.s. I thought that multiple sections with same name are possible ...

Actions

Also available in: Atom PDF