mikel/mail — Issue #349: Mail::IMAP#find read_only bug
Author: tdombrowski
Created: 2012-02-08 18:04:32+00:00
State: open

Just ran across this last night after much head scratching - it appears as though the logic is reversed in this line

lib/mail/network/retriever_methods/imap.rb:66
options[:read_only] ? imap.select(options[:mailbox]) : imap.examine(options[:mailbox])

I had to use `:read_only => true` in order to delete message from the imap server