How to setup email notification in 0.9.3?

Added by Michael Qiu over 11 years ago

Hi all,
I've just installed redmine by apt-get install redmine. Everything looks fine, except I cannot enable email notification.
I've already done everything exactly as the steps according to http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/

First, ruby script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git

Then, add email.yml in /usr/share/redmine/config/.

  1. Outgoing email settings

production:
delivery_method: :smtp
smtp_settings:
tls: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :plain
user_name: ""
password: "xxx"

But the email notification GUI always show:
Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in config/email.yml and restart the application to enable them.

Can anyone help me?

Best regards

Replies (2)

RE: How to setup email notification in 0.9.3? - Added by Felix Schäfer over 11 years ago

Debian changes stuff in the redmine it packages, I think it looks for the email.yml somewhere around /etc/redmine or /etc/defaults/redmine.

RE: How to setup email notification in 0.9.3? - Added by Michael Qiu over 11 years ago

Thanks Felix, I just move my email.yml to /etc/redmine/default, then it works.

(1-2/2)