imap receiving: undefined method `authentication=' for ActionMailer::Base:Class

Added by Thimios Dimopulos over 10 years ago

- Ruby implementation and version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]

- Rails version (rails --version)
Rails 2.3.4

- Operating system (precise if you're using cygwin when running on Windows)
ubuntu 8.04 Server lts
- Database used, and its version
mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2

- server used: Apache
Server version: Apache/2.2.8 (Ubuntu)

- redmine version: 0.8 stable

I am trying to receive emails through imap, using the following command, but i am getting the following error. Could someone give me a clue? Thanks a lot.

indice@teefix:/var/www/RedmineInstallations/development/0.8-stable$ rake -f /var/www/RedmineInstallations/development/0.8-stable/Rakefile --trace redmine:email:receive_imap RAILS_ENV="development" host=******* port=143 folder=Inbox username=redmine.user@**** password="*****" ssl=0
(in /var/www/RedmineInstallations/development/0.8-stable)
  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
    GLoc v1.1 running in development mode. Strings can be modified at runtime.
    rake aborted!
    undefined method `authentication=' for ActionMailer::Base:Class
    /var/lib/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:385:in `method_missing'
    /var/www/RedmineInstallations/development/0.8-stable/config/initializers/40-email.rb:14:in `send'
    /var/www/RedmineInstallations/development/0.8-stable/config/initializers/40-email.rb:14
    /var/www/RedmineInstallations/development/0.8-stable/config/initializers/40-email.rb:12:in `each'
    /var/www/RedmineInstallations/development/0.8-stable/config/initializers/40-email.rb:12
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:503:in `load'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:503:in `load'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:503:in `load'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:484:in `load_application_initializers'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:483:in `each'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:483:in `load_application_initializers'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:149:in `process'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:97:in `send'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:97:in `run'
    /var/www/RedmineInstallations/development/0.8-stable/config/environment.rb:20
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
    /var/lib/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
    /var/lib/gems/1.8/gems/rails-2.1.2/lib/tasks/misc.rake:3
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
    /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
    /var/lib/gems/1.8/gems/rake-0.8.7/bin/rake:31
    /usr/local/bin/rake:19:in `load'
    /usr/local/bin/rake:19
    indice@teefix:/var/www/RedmineInstallations/development/0.8-stable$