> 
> If this is a proper mail , why dont you use ready Mail Parsers 
> MIME::Parser for one ( excellent module )

I have looked at it but am still unable to get my little brain figuring it out.
Here is what I gathered via CPAN but an uncertain as to whether I'm looking at it right
And , if I am, where to go next ::
I have 3 questions in the code below, any input would be most appreciated

Thanks

Dan

use MIME::Parser;

my $parser = new MIME::Parser;
    
$parser->output_to_core(1); # 1) do I need this set to true to be able to get the 
result into a variable ??

# 2) these are set to true to avoid using memory instead of disk right??        
$parser->tmp_recycling(1);                                                           
$parser->tmp_to_core(1);               
$parser->use_inner_files(1);           

$entity = $parser->parse_data([EMAIL PROTECTED]); # where @lines contains the headless 
body from Mail::Internet in the previous post
 
# 3) so now what do i do eith $entity to actually set the text/plain part to a 
variable ??

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

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

Reply via email to