Can use macro to check the size of Exchange mail box ??

L

lemoncoke

I want to write a VBA or marco to check the size of mail box, include
inbox outbox & deleted item, which locate on Exchange server.
Can any info or ref. that I can read ??

Thank you very much.
 
K

Ken Slovak - [MVP - Outlook]

That information isn't available using the Outlook object model. You'd
have to use CDO or Extended MAPI (C++ or Delphi only). Using CDO code
the property tag you'd want to look at would be PR_MESSAGE_SIZE
(0x0E080003), a PT_LONG that shows the folder size. See
http://www.cdolive.com/cdo10.htm for CDO/MAPI property tags and
http://www.cdolive.com/cdo5.htm for sample CDO code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top