Advertisement
Guest User

Untitled

a guest
Jul 30th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. ##Action Mailer config:
  2.  
  3. ActionMailer::Base.delivery_method = :smtp
  4. ActionMailer::Base.perform_deliveries = true
  5. ActionMailer::Base.server_settings = {
  6. :address => "mail.foo.co.uk",
  7. :authentication => :login,
  8. :username => 'daemon foo.co.uk',
  9. :password => 'bar'
  10. }
  11.  
  12. ##Log error:
  13.  
  14. ArgumentError (both user and secret are required):
  15. /usr/local/lib/ruby/1.8/net/smtp.rb:563:in `check_auth_args'
  16. /usr/local/lib/ruby/1.8/net/smtp.rb:391:in `do_start'
  17. /usr/local/lib/ruby/1.8/net/smtp.rb:378:in `start'
  18. /usr/local/lib/ruby/1.8/net/smtp.rb:316:in `start'
  19. /vendor/rails/actionmailer/lib/action_mailer/base.rb:511:in `perform_delivery_smtp'
  20. /vendor/rails/actionmailer/lib/action_mailer/base.rb:397:in `deliver!'
  21. /vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `method_missing'
  22. /app/controllers/login_controller.rb:26:in `register'
  23. /vendor/rails/actionpack/lib/action_controller/base.rb:941:in `perform_action_without_filters'
  24. /vendor/rails/actionpack/lib/action_controller/filters.rb:368:in `perform_action_without_benchmark'
  25. /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
  26. /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
  27. /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
  28. /vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action'
  29. /vendor/rails/actionpack/lib/action_controller/base.rb:408:in `process_without_filters'
  30. /vendor/rails/actionpack/lib/action_controller/filters.rb:377:in `process_without_session_management_support'
  31. /vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in `process'
  32. /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'
  33. /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'
  34. /vendor/rails/railties/lib/fcgi_handler.rb:54:in `process!'
  35. /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi'
  36. /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi'
  37. /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'
  38. /vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!'
  39. dispatch.fcgi:24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement