![]() |
|
XP is just a number | |
PerlMonks |
Searching using Mail::IMAPClient on exchangeby Anonymous Monk |
on Aug 03, 2005 at 08:27 UTC ( #480393=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks.
I'm having a problem reading mail from an exahcnge 5.5 server using Mail::ImapClient; As far as I can see it should be pretty straightforward, I've read the perl module documentation and checked out RFC2060 which gives specifics about the IMAP SEARCH command but I can't seem to get this supposedly simple thing to work. The following code should login to the mail box and do a search for any mails that have 'test' in the subject header.
But instead of retrieving the mails in question it just returns.
Whatever search fields I put into the search array I get he same error but the $imap->message_count always seem to work fine which indicates that I am successfully able to login to the account and retrieve information, it's just the syntax of the search command that seems to be the issue. Could any monks offer any advice?
Back to
Seekers of Perl Wisdom
|
|