Project

General

Profile

Email problems

Added by Jake D about 13 years ago

Hey guys, I'm at my wits end here. I'm trying to use redmine email notifications but I keep getting the error

An error occurred while sending mail (wrong number of arguments (8 for 6))

and I have no idea what that means. The production.log file is equally unhelpful. all I see is this:

Processing AdminController#test_email (for XXXXXXXXX at 2011-02-24 11:07:17) [GET]
  Parameters: {"action"=>"test_email", "controller"=>"admin"}
Sending email notification to: myemail@gmail.com
Sent mail to myemail@gmail.com
Redirected to http://www.mysite.com:8000/settings/edit?tab=notifications
Completed in 28ms (DB: 2) | 302 Found [http://www.mysite.com/admin/test_email]

So yeah, no insight there. My email.yml file looks like this:

 production:
  delivery_method: :smtp
  smtp_settings:
     address: mail.mysite.com
     port: 25
     domain: mysite.com
     authentication: :login
     user_name: "email@mysite.com" 
     password: "password" 

If anyone could help me figure this out or just give me a decent way to debug this problem I would greatly appreciate it. Thanks,

Jake


Replies (1)

RE: Email problems - Added by Felix Schäfer about 13 years ago

What versions of Redmine, rails, rack, ruby, … do you use?

    (1-1/1)