Project

General

Profile

Sending E-mail in 2.0.3 -> can't see email preferences

Added by Jarrett Chisholm over 11 years ago

Hi all,

Did a fresh 2.0.3 install today.

I edited the config/configuration.yml file for e-mail. However, when I log into the system as admin, go to Administration -> Settings -> Email Notifications, I get this warning:

Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in /etc/redmine/<instance>/email.yml and restart the application to enable them.

So apparently, this warning is telling me to edit the config file for an older version of redmine?

Also, mail doesn't seem to send, although I see this in my production.log file:

Processing UsersController#add (for 192.168.1.1 at 2012-11-03 21:20:19) [POST]
Parameters: {"send_information"=>"1", "commit"=>"Create", "password_confirmation"=>"[FILTERED]", "action"=>"add", "authenticity_token"=>"blahblahblahblah(i edited this)", "controller"=>"users", "user"=>{"admin"=>"1", "lang
uage"=>"en", "mail"=>"my.email@my.site.com", "lastname"=>"loblaw", "firstname"=>"bob", "login"=>"bob"}, "password"=>"[FILTERED]"}
Sending email notification to: my.email@my.site.com
Redirected to http://redmine.my-site.com/users/3/edit
Completed in 212ms (DB: 6) | 302 Found [http://redmine.my-site.com/users/new]

Anyone have any ideas where I could see debug/error logs for this email transaction?

Also, any idea how to send out test emails? :)

Thanks for any help guys!

Cheers

jarrett


Replies (2)

RE: Sending E-mail in 2.0.3 -> can't see email preferences - Added by Diana Savvatina over 11 years ago

Hi,

Sometimes (at least in Redmine 1.4.2) Redmine says, that conf file is not configured, but in fact there is some mistake in it.

You can check the following:
  1. check that the file is a valid YAML file (example: http://yaml-online-parser.appspot.com/)
  2. if you just uncommented some part of the file, move this down and make sure you don't have double configuration
  3. maybe it would be easier to debug if you remove all the commented examples from the configuration.yaml
  4. post you config here. Someone has a similar configuration and could help

Good lcuk,
Diana

RE: Sending E-mail in 2.0.3 -> can't see email preferences - Added by Jarrett Chisholm over 11 years ago

Hi Diana,

thanks for the reply.

Turns out, I had 2 versions of redmine installed. The older version - 1.0.1 - was running. I had to switch it over to the new install - 2.0.3 - and it worked :)

thanks again :)

cheers

jarrett

    (1-2/2)