Project

General

Profile

Actions

Defect #7915

closed

An error occurred while sending test email (undefined method `[]' for nil:NilClass)

Added by Vinitha Varun about 14 years ago. Updated about 8 years ago.

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

80%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

While I click on the Send a test email button in Administration->Settings->Email configuration tab, I get the above mentioned error. My config/email.yml is as below

production:
  delivery_method: :smtp
  smtp_settings:
      address:"localhost" 
      port: 25
      domain:VVENUGOP.XXX.XXX.net

My production log reports no error ,what I get is as below,

Processing AdminController#test_email (for 127.0.0.1 at 2011-03-18 11:51:17) [GET]
  Parameters: {"action"=>"test_email", "controller"=>"admin"}
Sending email notification to: vvenugopalan@in.rm.com
Sent mail to vvenugopalan@in.rm.com
Redirected to http://localhost/redmine/settings/edit?tab=notifications
Completed in 438ms (DB: 31) | 302 Found [http://localhost/admin/test_email]

Processing SettingsController#edit (for 127.0.0.1 at 2011-03-18 11:51:19) [GET]
  Parameters: {"action"=>"edit", "controller"=>"settings", "tab"=>"notifications"}
Rendering template within layouts/admin
Rendering settings/edit
Completed in 1328ms (View: 797, DB: 188) | 200 OK [http://localhost/settings/edit?tab=notifications]

About my application's environment

Ruby version              1.8.7 (i386-mingw32
RubyGems version          1.3.7
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          C:/webserver/Redmin
Environment               development
Database adapter          mysql
Database schema version   20100819172912

Redmine plugins
Redmine Charts                 0.1.0
Redmine Scrum Sprints plugin   0.1.6
Advanced report plugin         0.0.4
Redmine Graphs plugin          0.0.1

Redmine version : 1.0.4

Can anyone please tell me what I'm doing wrong?


Files

ErrorMessage.JPG (79 KB) ErrorMessage.JPG Vinitha Varun, 2011-03-18 09:59
mongrel.txt (29 KB) mongrel.txt Vinitha Varun, 2011-03-18 11:59
mailer.rb (18.7 KB) mailer.rb Vinitha Varun, 2011-03-21 12:40
mailer.rb (17.8 KB) mailer.rb Vinitha Varun, 2011-03-22 08:52
mailer.rb (18.5 KB) mailer.rb Vinitha Varun, 2011-03-22 10:09
Actions

Also available in: Atom PDF