Send Redmine 1.3.2 email notifications through GMail
Setting up Redmine to send email notifications through GMail is straightforward once you know how!
First you will need a GMail account set up through which the emails will be
sent. We setup
email@example.com in our Google Apps but
a normal GMail account should work just as well.
Next, put the following in your
# default configuration options for all environments default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :smtp smtp_settings: tls: true address: smtp.gmail.com port: 587 domain: smtp.gmail.com authentication: :plain user_name: "firstname.lastname@example.org" password: "your_password"
At this point if you were to restart the web server and attempt to send an email notification you would get the following error:
530 5.7.0 Must issue a STARTTLS command first.
The solution is to install the plugin from here. To do that go to your redmine web server directory and issue the following command:
./script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git
After that restart your web server and check that email notifications are
working by going to
Administration > Settings > Email notifications and click
on the 'Send a test email' at the bottom of the page.