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.

  1. 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
    
  2. 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"
    
  3. Restart Web Server: Restart your web server which in my case is LiteSpeed.
  4. 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.

The Ruby Programming Language (Paperback)

By (author): David Flanagan, Yukihiro Matsumoto


List Price: $39.99 USD
New From: $20.82 USD In Stock
Used from: $9.92 USD In Stock

Share