Hello all,

    I am using MIME::Parser to extract attachements of a mail. I am not
able to get the filename of the attachement directly thru any method can
enyone help


$PARSER  = new MIME::Parser;
# All temp files are created under this directory
$PARSER->output_under($DIR);
$entity = $PARSER->parse_data($MESSAGE);

for ($i=0; $i < $entity->parts; $i++) {
    my $part = $entity->parts($i);

    # HOW DO I get FILENAME of attachment here
	

}


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to