MailParser is a parser for mail message.
% gem install mailparser
require 'mailparser'
f = File.open('hoge.eml')
m = MailParser::Message.new(f, :output_charset=>'utf-8')
m.subject #=> String
m.body #=> String
m.part #=> Array of Mailparser::Message
Ruby's
Copyright (C) 2009 TOMITA Masahiro [email protected]