Project

General

Profile

cant start application after email configuring

Added by Ramesh kumar over 14 years ago

Hi,

I have some problem in email configuration
 production: 
   delivery_method: :smtp 
   smtp_settings: 
   address: smtp.mydomain.com 
   port: 25 domain: mydomain.com 
   authentication: :login 
   user_name: test
   password: test
My problem is after configuring it in config/email.yml, I tried to restart the redmine application. But I cant restart the application. I renamed email.yml file and started the rail application then the Rail application starts to work fine. What would be the issue? If I configure mail then the problem arises. I have to do it very fast.

Replies (1)

RE: cant start application after email configuring - Added by Felix Schäfer over 14 years ago

Long answer: Pay more attention to the configuration guide, and have a look at your logs (e.g.: log/production.log) before posting, or include errors from said logs so that we can help you better.

Short answer: you're missing some indentations, your config should read:

production: 
  delivery_method: :smtp 
  smtp_settings: 
    address: smtp.mydomain.com 
    port: 25
    domain: mydomain.com 
    authentication: :login 
    user_name: test
    password: test

    (1-1/1)