[Tmail-talk] where to start with this parse request

Mikel Lindsaar raasdnil at gmail.com
Sat Sep 6 01:17:36 EDT 2008

On Thu, Sep 4, 2008 at 1:28 AM, George Cooper <geocooper at gmail.com> wrote:
> I am looking through http://tmail.rubyforge.org to see how this works but am
> not having much luck with the Quick Start examples.
> email = TMail::Mail.load( 'emailhtml.eml' )
> => #<TMail::Mail port=#<TMail::FilePort:/emailhtml.eml> bodyport=nil>
>>> puts email.to
> nil
> => nil
> Any help would be appreciated as I'm sorta stuck.

What do you get if you do email.to_s ?

Wondering if it is parsing correctly.

You can also try email['to']

Rails, RSpec and Life blog....

More information about the Tmail-talk mailing list