Project

General

Profile

Actions

Defect #10123

closed

Test Email Sending Error

Added by Rajan Rawal over 13 years ago. Updated over 6 years ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Please help me... Whole day, I have gone through all forums, and applied the same, but could not find solution.
Getting error:
An error occurred while sending mail (Connection refused - connect(2))

configuration.yml setting as below:

production:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: smtp.gmail.com
port: 587
domain: "smtp.gmail.com"
authentication: :login
user_name: ""
password: "xxx"

Here is my redmine environment
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.4.2
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Edge Rails revision unknown
Application root /home/techfu/rails_apps/redmine
Environment development
Database adapter mysql
Database schema version 20100819172912

About your Redmine plugins
Redmine Logs plugin 0.0.3

The Error log is as below:
Processing AdminController#test_email (for 202.177.236.98 at 2012-01-31 07:55:41) [GET]
Parameters: {"action"=>"test_email", "controller"=>"admin"}
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` [0m
[4;35;1mUser Load (0.2ms)[0m [0mSELECT * FROM `users` WHERE (`users`.`id` = 1) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) [0m
[4;36;1mUserPreference Load (0.2ms)[0m [0;1mSELECT * FROM `user_preferences` WHERE (`user_preferences`.user_id = 1) LIMIT 1[0m
Sending email notification to:
Redirected to http://redmine.ithinkinfotech.com/settings/edit?tab=notifications
Completed in 61ms (DB: 1) | 302 Found [http://redmine.ithinkinfotech.com/admin/test_email]


Related issues

Is duplicate of Redmine - Defect #10106: Test Email Sending ErrorClosed2012-01-31

Actions
Actions #1

Updated by Toshi MARUYAMA over 13 years ago

  • Category changed from Forums to Email notifications
  • Assignee deleted (Toshi MARUYAMA)
Actions #2

Updated by Go MAEDA over 6 years ago

Actions #3

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate
Actions

Also available in: Atom PDF