Platform SDK: Exchange Server

PROFINST: Installing a MAPI Profile

This program installs a MAPI profile for a gateway. The gateway can use the profile to log on to MAPI.

To run PROFINST, type the following at the command prompt:

PROFINST 
  /SERVICE=<service name> 
  /NAME=<profile name> 
  /TYPE=<profile type> 
 [/DELETE] 
 [/HELP or /?]

PROFINST Parameters

Parameter Description
SERVICE Service name for the gateway. This is the name that was assigned when the gateway was installed.
NAME Profile name.
TYPE Profile type (for a gateway, this is GATEWAY).
DELETE Deletes the profile.
HELP or ? Displays Help information.

An example of calling this program is:

PROFINST /SERVICE=samplegw /NAME=gw1 /TYPE=GATEWAY

Note  The Sample Gateway creates a MAPI profile for its own Windows NT service before attempting to log on. Because this MAPI profile already exists, using PROFINST to create a profile for the Sample Gateway causes an error.