From: Robert Johns Date: 2011-05-13T05:28:25+09:00 Subject: Email Parsing How would I only pull links from the email's body and not the full email. require 'net/pop' require 'rubygems' require 'tmail' username = ' ' pass = ' ' 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 Thanks -- Posted via http://www.ruby-forum.com/.