Project

General

Profile

Email delivery not configured in config/configuration.yml

Added by matt hods over 10 years ago

Environment
  • CentOS 6.3 i686
  • Redmine 2.3.1, MySQL 5.1.66, Phussion Passenger, Ruby 1.9.3, Rails 3.2.13

Situation
After a recent RM upgrade from RM 2.0.3 to 2.3.1 email notifications stopped going out. Settings -> Email Notifications says "Email delivery is not configured, and notifications are disabled. Configure your SMTP server in config/configuration.yml and restart the application to enable them."

I logged onto the server and 777'd "configuration.yml" and made sure that it read

production:
  email_delivery:
    delivery_method: :sendmail

Then I rebooted Apache. Unfortunately the email settings page still compains about no eamil configuration.

Then I spent about 3 hours trying everything I could think of to get emails working. So far nothing has worked. I am able to send and recieve test emails using sendmail from the command line. halp!


Replies (3)

RE: Email delivery not configured in config/configuration.yml - Added by Tory Wolf over 10 years ago

Try to change

production:
email_delivery:
delivery_method: :sendmail

on

default:
email_delivery:
delivery_method: :sendmail

RE: Email delivery not configured in config/configuration.yml - Added by matt hods over 10 years ago

OMG! That fixed it. THANK YOU!!! You have no idea how much time I spent on this one. I was starting to feel inadequate. If I had $1,000,000 I'd totally give you like $20 and a kiss right now.

    (1-3/3)