in reply to Using Net::IMAP::Simple to read emails

Hi


What are u passing here
 PrintList(@$MsgContent);
it should be as
PrintList($MsgContent);

Then
sub PrintList { my $line = $_[0]; my my @lines; (@lines)=split(/\/n/,$line);

Then Continue..
Thanks
Sasi Kumar

Replies are listed 'Best First'.
Re^2: Using Net::IMAP::Simple to read emails
by eizo (Initiate) on Dec 22, 2004 at 13:29 UTC
    thanks for your help. i change what you wrote. but now i dont get any value also not for from and subjekt. before i get this values but only not for the body of the email.