Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##Action Mailer config:
- ActionMailer::Base.delivery_method = :smtp
- ActionMailer::Base.perform_deliveries = true
- ActionMailer::Base.server_settings = {
- :address => "mail.foo.co.uk",
- :authentication => :login,
- :username => 'daemon+foo.co.uk',
- :password => 'bar'
- }
- ##Log error:
- ArgumentError (both user and secret are required):
- /usr/local/lib/ruby/1.8/net/smtp.rb:563:in `check_auth_args'
- /usr/local/lib/ruby/1.8/net/smtp.rb:391:in `do_start'
- /usr/local/lib/ruby/1.8/net/smtp.rb:378:in `start'
- /usr/local/lib/ruby/1.8/net/smtp.rb:316:in `start'
- /vendor/rails/actionmailer/lib/action_mailer/base.rb:511:in `perform_delivery_smtp'
- /vendor/rails/actionmailer/lib/action_mailer/base.rb:397:in `deliver!'
- /vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `method_missing'
- /app/controllers/login_controller.rb:26:in `register'
- /vendor/rails/actionpack/lib/action_controller/base.rb:941:in `perform_action_without_filters'
- /vendor/rails/actionpack/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark'
- /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
- /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
- /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
- /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action'
- /vendor/rails/actionpack/lib/action_controller/base.rb:408:in `process_without_filters'
- /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in `process_without_session_management_support'
- /vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process'
- /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
- /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
- /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
- /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
- /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
- /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
- /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
- dispatch.fcgi:24
Add Comment
Please, Sign In to add comment