Project

General

Profile

Actions

Defect #5625

closed

Bitnami redmine 0.9.4 - setup Redmine to send email using GMAIL

Added by ateh ac almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2010-05-31
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,
Im using Bitnami Redmine stack 0.9.4 in Ubuntu 9.10. I configure Redmine to send email using GMAIL. Following is my email.yml config file

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

I've put require 'tls_smtp' in environment.rb =================================================================================
  1. Be sure to restart your web server when you modify this file.
  1. Uncomment below to force Rails into production mode when
  2. you don't control web/app server and can't set it the proper way
  3. ENV['RAILS_ENV'] ||= 'production'
  1. Specifies gem version of Rails to use when vendor/rails is not present
    RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
  1. Bootstrap the Rails environment, frameworks, and default configuration
    require File.join(File.dirname(FILE), 'boot')

require 'tls_smtp'

  1. Load Engine plugin if available
    begin
    require File.join(File.dirname(FILE), '../vendor/plugins/engines/boot')
    rescue LoadError
    .
    .
    . =================================================================================
My production.rb is =================================================================================
  1. Settings specified here will take precedence over those in config/environment.
    rb
  1. The production environment is meant for finished, "live" apps.
  2. Code is not reloaded between requests
    config.cache_classes = true
  1. Use a different logger for distributed setups
  2. config.logger = SyslogLogger.new
  1. Full error reports are disabled and caching is turned on
    config.action_controller.consider_all_requests_local = false
    config.action_controller.perform_caching = true
  1. Enable serving of images, stylesheets, and javascripts from an asset server
  2. config.action_controller.asset_host = "http://assets.example.
    com"
  1. Disable delivery errors if you bad email addresses should just be ignored
    config.action_mailer.raise_delivery_errors = true
  1. No email in production log
    config.action_mailer.logger = nil ====================================================================

when I click on "Send a test email" link under Administration>Settings>Email Notification s I got error "An error occurred while sending mail (Network is unreachable - connect(2))"

There is no firewall between and It should not network issue since I have install thunderbird in this server to send email using the same account without any issue to send/receive.

Appreciate any helps.
Thanks in advanced.

Actions

Also available in: Atom PDF