MAPI protocol

MAPI Vuser script functions generate activity to and from an MS Exchange server. Each MAPI function begins with a mapi prefix. You cannot record Vuser scripts using the MAPI protocol. For detailed syntax information on these functions, see the Function Reference (select the relevant version).

Note: To run MAPI scripts, you must define a mail profile on the machine running the script. For example, install Outlook Express or Microsoft Outlook, set it as the default mail client, and create a mail account.

In the following example, the mapi_send_mail function sends a sticky note through an MS Exchange server.

            "ProfileName=John Smith",
    //Send a Sticky Note message
            "Subject=<GROUP>:<VUID> @ <DATE>",
            "Body=Please update your profile today.",
    return 1;

Back to top