Defect #8412
closed
email configuration in trunk, rev 5857
Added by Ivan Cenov over 13 years ago.
Updated over 13 years ago.
Category:
Email notifications
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
config/configuration.yml
works for me with trunk when configured in :default
"section", didn't try :production
.
tested right now:
it works in :default
section
in doesn't work in :production
section
Can't reproduce, could you please post your file ?
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
- 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
Thanks,
p.s. I thought that multiple sections with same name are possible ...
Also available in: Atom
PDF