Redmine email.yml: Enable Email Sending Through Gmail
Follow the below instructions to have your Redmine application send email using TLS through Gmail. As long as you have a Gmail account you will be able to send mail through smtp.gmail.com.
- Install TLS: First install TLS for the Redmine project. Login to the server with the user that runs Redmine and issue the below command from the Redmine project root directory to install TLS.
./script/plugin install http://svn.douglasfshearer.com/rails/plugins/action_mailer_optional_tls
- Modify email.yml File: Now modify the email.yml file with contents similar to the below.
production: delivery_method: :smtp smtp_settings: tls: true address: smtp.gmail.com port: 587 domain: YOURDOMAIN authentication: :login user_name: "GMAILUSER" password: "GMAILPASSWORD"
- Restart Web Server: Restart your web server which in my case is LiteSpeed.
- Test Ticket Updates: Now update a ticket that belongs to you and see if you receive an update via email. If you do not then check the Administration >> Settings area to make sure everything is configured properly within Redmine.