Platform SDK: Exchange Server

Viewing the Contents of Mailboxes with MBLSAMPL

To view the contents of mailboxes using MBLSAMPL

  1. Type MBLSAMPL and the MAPI profile name for a user profile with administrator privileges. If the profile name contains a space, enclose the entire profile name in quotation marks. Because MAPI profile passwords are not used on Windows NT Server, omit the PASSWORD parameter:
    MBLSAMPL <Admin>
    

    If this logon attempt succeeds, MBLSAMPL prompts you for the name of the server on which you want to perform MAPI operations:

    Enter the name of the SERVER that contains the mail box
    or EXIT to terminate.
     

    Example: /O=Microsoft/OU=Test/CN=Servers/CN=ServerName

      
  2. Type the path leading to your server. For example:
    /O=Litware/OU="North America"/CN=Servers/cn=BERKELEY
    

    In the preceding syntax, the container designation /CN=Servers does not change and must be typed verbatim. The other parameters must match the actual names of nodes on the server's directory information tree (DIT).

  3. MBLSAMPL now prompts you for the name of the mailbox whose contents you want to view.
    Enter the name of the mail box to access
    or EXIT to terminate
     

    Example: /O=Organization/OU=Site/CN=Container/CN=MailboxName

      
  4. Type the path leading to a mailbox containing messages you want to view. For example:
    /O=Litware/OU="North America"/CN=Recipients/cn=container1
    

    MBLSAMPL lists the subject lines of the messages in the mailbox. It then prompts you for the name of a server, which returns you to Step 2.

Note  The MailboxName parameter refers to the distinguished name (DN) of the mailbox, which is unique and is generated at the time the mailbox is created. This name may or may not be the same as the mailbox's display name. To verify the DN for a mailbox from the Administrator program, view the raw property Obj-Dist-Name.

MBLSAMPL can be configured to take advantage of additional MAPI functionality. For example, it can access message properties such as the Subject, Body, To, CC, and Recipient fields. Using MBLSAMPL, you can log on to anyone else's mailbox within that information store or in any other server's information store for which you also have administrator privileges.

Note  Do not attempt to log on to your own mailbox or any mailbox attached to the profile that executes MBLSAMPL. This can cause unpredictable results, including loss of information because there will be a conflict between the profiles. See Flag Settings for Privileged Access.  

For MBLSAMPL, the only special permissions needed for administrator rights are Logon Rights for all mailboxes in the site. Add a Windows NT account with a View Only Admin role in the Administrator program for the site. No specific Windows NT Server rights are required.