Issue #5692 has been reported by art  lussos.

----------------------------------------
Feature #5692: IMAP -- error for msg_att will report the UID
http://redmine.ruby-lang.org/issues/5692

Author: art  lussos
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.2


I am getting errors in msg_att and it would be easier if I could get the UID of the email causing the issue. What I propose is that we pass into the method msg_att the UID and if an error occurs report the UID.

def numeric_response
  n = number
  ...
  ...      
  data = FetchData.new(n, msg_att(n))
  ...
end

def msg_att(n)
  ...
  ...
  ...
  else
    parse_error("unknown attribute `%s' for UID {%d}", token.value, n)
  ...
end



-- 
http://redmine.ruby-lang.org