lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
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.
Updated by rayners (David Raynes) about 6 years ago
It feels more like a bug to me. The existing code throws a parsing exception when I fetch the bodystructure of the message in my inbox that prompted me to make this change. I have not dug deep enough into the RFCs yet to know how close this is or is not to the IMAP specs (to the best of my knowledge, this is not coming from any sort of new IMAP extension, though I do not discount that this could potentially be a bug in Google's IMAP implementation), and I know this is not the first delivery status notification email to have a problem with Net::IMAP.
Updated by shugo (Shugo Maeda) about 6 years ago
- 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]