Hi Stephen,

You could attempt to write your own if you wanted.  

Have a look at IO::Socket.  You can use this to connect to the pop server.

Send "user" <username>
         "pass" <password>

Issue a STAT after logging in.  This will give you the number of messages waiting.  
The only way I can see you to work out who's messages are who's would be to issue a

   Top 1 <number of messages>

This returns the headers of each message.  From those you could analyse and count the 
message for each user.

Cool?

Paul.

---------------------------------------------------------
"Gross, Stephan" <[EMAIL PROTECTED]>

I'd like to write a Perl application that will tell me how many messages are
sitting in an Exchange mailbox.  Implementations of both POP3 and IMAP can
query a mailbox given the username and password.  The problem is that I have
several mailboxes all using the same user account.  Outlook can do this
because it understands "profiles" - i.e., name, password *and* mailbox.  Can
someone point me to a Perl solution or Microsoft API?

_______________________________________________________

------------------------------------------------
Global WebMail -
  Delivered by Global Internet www.global.net.uk
------------------------------------------------



Reply via email to