Issue #9885 has been updated by Shugo Maeda.

Status changed from Feedback to Closed
% Done changed from 0 to 100

Applied in changeset r46331.

----------
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
	  type as "MIXED" followed immediately by params
	  [ruby-core:62864] [Bug #9885]

----------------------------------------
Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
https://bugs.ruby-lang.org/issues/9885#change-47021

* Author: David Raynes
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-05-31 trunk 46263) [x86_64-darwin13]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Gmail's IMAP server is giving me ("MIXED ("BOUNDARY" "abcdefgh") ..) for a the body portion of a message/rfc822 part and Net::IMAP raises an exception when parsing it.

I've got a pull request w/ test just about ready to go. Will post URL here shortly.



-- 
https://bugs.ruby-lang.org/