I use the following script to open up outlook express and grab all e-mail contents. However, I only get a bunch of pipelines (|) instead of characters. I can't find anybody else who has run across this online, and was wondering what the problem is. Here's the code:
open(MAILER, "mail.exe special -s \"$srcFld\" -d \"$destFld\"|");
while(<MAILER>)
{
chomp;
push(@listing, $_);
}
close(MAILER);
open(MAILER, "mail.exe special -s \"$srcFld\" -d \"$destFld\"|");
while(<MAILER>)
{
chomp;
push(@listing, $_);
}
close(MAILER);