From: Ed Lau Date: 2006-06-14T02:40:12+09:00 Subject: Re: Understanding net/imap and multi-part e-mails ts wrote: >>>>>> "E" == Ed Lau writes: > > E> But what about a multi-part MIME message? > > You have an example in comp.lang.ruby > > Thread "Retrieve email attachments using Net::IMAP" > > message > > For example > > puts imap.fetch(message_id, "BODY[2]") > > > > Guy Decoux Thanks! BODY[1] for the plain text version is exactly what I needed. I didn't know you could access the various parts of the body using array index notation. --Ed -- Posted via http://www.ruby-forum.com/.