Hi,
I’ve been working on something that would look at a form mail, and then
extract information out of that mail into ruby usable form.
For instance, let’s say someone sends you an email through eBay’s form
mail facility, but her message body is encapsulated in all that nice and
fancy HTML, so what I’d like to do is to hack up something that can read
in this email, and just get at the message body less the extra
formatting.
What’d be the best way to go about doing it?
I know it can be done with regular expressions, but ideally I want to
make this a solution that can be easily updated as the format of the
emails change, so regular expressions might not be able to give that
flexibility.
Any tips welcome!
Thanks.