Example: mapi_logon_ex

In the following example, the mapi_logon_ex function logs on to the MAPI server.

mapi_logon_ex(&mapi,"Logon",
            "ProfileName=John Smith",
            "ProfilePass=Tiger",
            LAST );