Platform SDK: Exchange Server

Address Syntax Programs

Address syntax programs work together with Address Entry Templates to convert data entered in an address entry template dialog box into a proxy address string. When the user clicks OK or Accept in an address template dialog box, the Microsoft Exchange Server address book reads the data from the dialog box and uses it to create the custom address in the correct syntax. You need to provide an address syntax program that the address book can use to translate the entered data into the complete address. This program is the Address-Syntax attribute on the Address-Entry-Template object.

This program is written in a special assembly-like address syntax language and is not compiled into executable code for each platform that your gateway is compiled for. It is byte-compiled into a special binary data file that is used by the Microsoft Exchange Server address book. This program does the work of converting data from the address entry template dialog box into an actual address string. Because the program is not compiled into platform-specific executable code, it is portable across all platforms supported by Microsoft Exchange Server.

To create the address syntax binary file

  1. Use the fields defined in the address template text file to determine how to generate the proxy addresses from the template input.
  2. Write the address syntax program in symbolic format.
  3. Convert the symbolic program into the binary data stored in a file.