Bugs item #3983, was opened at 2006-03-30 22:02
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3983&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brian Skahan (bskahan)
Assigned to: Nobody (None)
Summary: Net::Imap error with Courier mail server

Initial Comment:
Courier response that looks like:
BODYSTRUCTURE (("text" "" NIL NIL NIL "binary" 12100 NIL ("inline" NIL) NIL)("text" "html" NIL NIL NIL "binary" 10516 281 NIL ("inline" NIL) NIL) "alternative" ("boundary" "_----------=_113815540225145195172") NIL NIL) FLAGS

Triggers the Net::Imap parser error in match because of the surounding parenthesis around ""inline" NIL".

A message in the same mailbox that returns:
BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 1515 46 NIL NIL NIL) FLAGS
does not raise the error.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3983&group_id=426