Howdy group.

In a recent post someone mentioned this url:
http://www.perl.com/pub/a/2004/06/10/email.html


My question is about the Mail::Internet Mime::Entity object and example mentioned at that url:



my $num_parts = $obj->parts; for (0..$num_parts) { my $part = $obj->parts($_); ... }


1) $obj is the Mail::Internet object created above that example correct?

2) I can't seem to find out how to use $part to examine the part, and the docs don't seem to helpful, so how do you use the object that is $part?

Say to get the content, encoding, ctype, etc...

Somethgin like this perhaps:
 my $desc = $part->description();
 my $ctype = $part->ctype();

IE I'd like to ultimately get the attachment information seperated...

but anystart on what Ii can do with $part would be greatly appreciated.

Thanks

Lee.M - JupiterHost.Net

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to