From: Ryan Davis Date: 2011-05-13T08:57:27+09:00 Subject: Re: Email Parsing On May 12, 2011, at 13:28 , Robert Johns wrote: > Net::POP3.enable_ssl(OpenSSL::SSL::VERIFY_NONE) > Net::POP3.start('pop.gmail.com', 995, username, pass) do |pop| > if pop.mails.empty? > puts "No mail" > else > pop.each_mail do |mail| > email = TMail::Mail.parse(mail.pop) > p email.body > end > end > end BTW... we're discussing stabbing you in the 'indenting "end"' thread. :)