From: George Cooper Date: 2008-09-04T23:57:29+09:00 Subject: Extract data from email - Tmail, Hpricot Hi all, I have an html email that I would like to parse. The problem I'm having is removing all html tags and getting past the header information. Then I want to extract all the information per row to put into a database. the email is pasted here: http://pastie.textmate.org/265259 I have tried Tmail, but can't seem to extract just the body. Then I tried Hpricot and wasn't sure what to use before the .inner_html. So basically I'm very lost on where to start. Any help is appreciated. Thanks! -- Posted via http://www.ruby-forum.com/.