From dave_a_k at hotmail.com Wed Dec 5 02:09:49 2007 From: dave_a_k at hotmail.com (Akshar D) Date: Tue, 4 Dec 2007 23:09:49 -0800 Subject: [Mailr] Unable to Login Message-ID: Hi- I am trying to connect to gmail imap using Mailr. Here is how my site.rb looks like: module CDF LOCALCONFIG = { :mysql_version => '5.0', :imap_server => 'imap.gmail.com', :imap_use_ssl => true, :imap_auth => 'LOGIN', :debug_imap => true, :imap_port => 993 } end I also tried :imap_auth => 'PLAIN' but I get the same error. However, I get the following error: DEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/application.rb:8)DEPRECATION WARNING: depend_on is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from model_without_deprecation at c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/deprecated_dependencies.rb:13)LoginController: missing default helper path login_helperDEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/login_controller.rb:4)DEPRECATION WARNING: depend_on is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from model_without_deprecation at c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/deprecated_dependencies.rb:13) Processing LoginController#authenticate (for 127.0.0.1 at 2007-12-04 21:57:04) [POST] Session ID: 4e62a56001b0e59eb1bbd2375a68f98a Parameters: {"login_user"=>{"password"=>"xxxxxxx", "email"=>"myemail at gmail.com"}, "submit"=>"Log In", "action"=>"authenticate", "controller"=>"login"}DEPRECATION WARNING: @headers is deprecated! Call headers.[]= instead of @headers.[]=. Args: ["Content-Type", "text/html; charset=utf-8"] See http://www.rubyonrails.org/deprecation for details. (called from localize at C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/application.rb:44)DEPRECATION WARNING: @request is deprecated! Call request.env instead of @request.env. Args: [] See http://www.rubyonrails.org/deprecation for details. (called from localize at C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/application.rb:47)DEPRECATION WARNING: @request is deprecated! Call request.env instead of @request.env. Args: [] See http://www.rubyonrails.org/deprecation for details. (called from localize at C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/application.rb:50)DEPRECATION WARNING: @params is deprecated! Call params.[] instead of @params.[]. Args: ["login_user"] See http://www.rubyonrails.org/deprecation for details. (called from authenticate at C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/login_controller.rb:15)DEPRECATION WARNING: @params is deprecated! Call params.[] instead of @params.[]. Args: ["login_user"] See http://www.rubyonrails.org/deprecation for details. (called from authenticate at C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/login_controller.rb:15) Customer Columns (0.010000) SHOW FIELDS FROM customersRedirected to http://localhost:3000/loginCompleted in 20.94000 (0 reqs/sec) | DB: 0.01000 (0%) | 302 Found [http://localhost/login/authenticate]DEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/application.rb:8)DEPRECATION WARNING: depend_on is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from model_without_deprecation at c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/deprecated_dependencies.rb:13)LoginController: missing default helper path login_helperDEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from C:/Documents and Settings/davebha/My Documents/nvarni/svn/app/controllers/login_controller.rb:4)DEPRECATION WARNING: depend_on is deprecated and will be removed from Rails 2.0 See http://www.rubyonrails.org/deprecation for details. (called from model_without_deprecation at c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/deprecated_dependencies.rb:13) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mailr-list/attachments/20071204/97bc4f0c/attachment-0001.html