XxGNxX 0 Newbie Poster

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);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.