em-imap
em-imap copied to clipboard
An event machine based IMAP client
Bumps [rake](https://github.com/ruby/rake) from 10.1.0 to 12.3.3. Changelog Sourced from rake's changelog. === 12.3.3 ==== Bug fixes Use the application's name in error message if a task is not found. Pull...
The uid_search method doesn't work: ``` EventMachine.run do imap = EM::IMAP.new('imap.gmail.com', 993, true) imap.connect.bind! do imap.login('[email protected]', 'password') end.bind! do imap.select('INBOX') end.bind! do imap.uid_search("2:*") end.bind! do |ids| imap.fetch(ids, "(UID RFC822)") end.callback...
I am trying to work with an ActiveRecord object on the callback but I get the error "cannot yield from root fiber": ``` EM.synchrony do User.all.each do |user| client =...
Should I restart the connection in this case? How should I catch this case?
I've spent a while trying to debug this and also asking around, and eventually a few people came to the conclusion that it may be an issue inside em-imap. Apologies...
Calling uid_store results in the error "wrong number of arguments (5 for 4)" In lib/em-imap/client.rb on line 342, uid_store calls store_internal("UID", "STORE", seq, name, value) which is only expecting 4...
I ran into this run time error, net/imap.rb:3480:in `initialize': undefined method`data' for "Unexpected continuation response from server":String (NoMethodError) from em-imap-0.5/lib/em-imap/continuation_synchronisation.rb:66:in `new' In Ruby 1.9, class ResponseError is changed. The constructor...
First, is JRuby supported? If so, we could use help with this error when we call # connect on an object created as EM::IMAP.new 'imap.gmail.com', 993, true ArgumentError: wrong number...
Was curious about the limit on number data in formatter.rb: ``` def send_number_data(num) if num < 0 || num >= 4294967296 raise Net::IMAP::DataFormatError, num.to_s end put_string(num.to_s) end ``` We are...
Hi, ``` ruby require 'em-imap' EM.run do client = EM::IMAP.new("imap.gmail.com",993,true) client.connect.bind! do client.login("[email protected]","some_gmail_password") end.bind! do client.select("INBOX") end.bind! do idler = client.idle idler.listen do |response| if (response == "stop" rescue nil)...