Defect #10106
closedTest Email Sending Error
0%
Description
Test Email Sending 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: "xxx@gmail.com"
password: "xxx"
Here are the
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: iipl.redmine@gmail.com
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