Defect #5625
closedBitnami redmine 0.9.4 - setup Redmine to send email using GMAIL
0%
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: "atehac@gmail.com"
password: "password"
- Be sure to restart your web server when you modify this file.
- Uncomment below to force Rails into production mode when
- you don't control web/app server and can't set it the proper way
- ENV['RAILS_ENV'] ||= 'production'
- Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
- Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(FILE), 'boot')
require 'tls_smtp'
- Load Engine plugin if available
begin
require File.join(File.dirname(FILE), '../vendor/plugins/engines/boot')
rescue LoadError
.
.
. =================================================================================
- Settings specified here will take precedence over those in config/environment.
rb
- The production environment is meant for finished, "live" apps.
- Code is not reloaded between requests
config.cache_classes = true
- Use a different logger for distributed setups
- config.logger = SyslogLogger.new
- Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
- Enable serving of images, stylesheets, and javascripts from an asset server
- config.action_controller.asset_host = "http://assets.example.
com"
- Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = true
- 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.