Trouble getting email setup.
Added by Josh Midkiff over 12 years ago
I cannot seem to get redmine to allow me "access" to the Admin -> Settings -> Email Notification screen.
I keep getting:
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 have tried every combination of the email_delivery config I could think of. Single quotes, double quotes, tls, enable_starttls_auto, etc. I did run it through a YAML validator, everything seems fine in it.
I am running http://www.helicontech.com/articles/installing-redmine-on-windows-in-production/ which seems to run fine. I have restarted the app pool, IIS, and actually rebooted the server. No effect.
I attached my configuration.yml. I am really at a loss here, I was up all night trying to figure this out.
configuration.yml (6.02 KB) configuration.yml |
Replies (8)
RE: Trouble getting email setup.
-
Added by Anonymous over 12 years ago
Try this:
production: delivery_method: :smtp smtp_settings: tls:true enable_starttls_auto: true address: "smtp.gmail.com" port: "587" domain: "smtp.gmail.com" authentication: :plain user_name: "email@gmail.com" password: "password"
Mind the quotes, enable_starttls_auto: true, authentication: :plain and the removed email_delivery:
-Brian
RE: Trouble getting email setup.
-
Added by Josh Midkiff over 12 years ago
Tried that, restarted the app pool, still didnt work. Its almost like I'm missing an extra config somewhere.
RE: Trouble getting email setup.
-
Added by Anonymous over 12 years ago
What version of redmine do you use?
I stuggled with this for weeks, till I upgraded to the latest redmine 2.2.0. All I had to do was change my configuration.yml. I removed all lines I didn't need. So only the lines above were present.
RE: Trouble getting email setup.
-
Added by Josh Midkiff over 12 years ago
It's 2.1.2.stable. I can take everything out of that config and try it again.
RE: Trouble getting email setup.
-
Added by Anonymous over 12 years ago
Let us know if it worked or not.
RE: Trouble getting email setup.
-
Added by Josh Midkiff over 12 years ago
"Email notifications" tab of administration -> settings is still disabled.
RE: Trouble getting email setup.
-
Added by Anonymous over 12 years ago
What files do you have in the config directory?
RE: Trouble getting email setup.
-
Added by Josh Midkiff over 12 years ago
additional_environment.rb.example
application.rb
boot.rb
configuration.yml.example
database.yml
database.yml.example
environment.rb
preinitializer.rb
routes.rb
settings.yml