Hi I'm using Fetcher with MMS2R as described in the Peepcode mini- book. After I start Fetcher I get the following error a few seconds later: $ RAILS_ENV=development ruby script/mail_fetcher start Starting MailFetcherDaemon $ /usr/local/lib/ruby/1.8/net/imap.rb:288:in `shutdown': Socket is not connected (Errno::ENOTCONN) from /usr/local/lib/ruby/1.8/net/imap.rb:288:in `disconnect' from myapp/vendor/plugins/fetcher/lib/fetcher/imap.rb:63:in `close_connection' from myapp/vendor/plugins/fetcher/lib/fetcher/base.rb:33:in `fetch' from script/mail_fetcher:16:in `start' from script/mail_fetcher:15:in `loop' from script/mail_fetcher:15:in `start' from myapp/lib/daemon.rb:55:in `start' from myapp/lib/daemon.rb:45:in `fork' from myapp/lib/daemon.rb:45:in `start' from myapp/lib/daemon.rb:32:in `daemonize' from myapp/lib/daemon.rb:14:in `daemonize' from script/mail_fetcher:27 When I comment out the @connection.disconnect line in imap.rb of course it's fine (but of course causes problems later after a receiving a few emails ok). Bit of a noob to this area, any ideas? I'm on Rails 2.1.1. Thanks.
on 2009-01-31 01:38