Modifying the Message Body

The CommerceMailMsg.properties file contains the body text for each notification message. The file is included in the CommerceLdapCmd.jar, located in the Web Application Server's webapps\nps\web-inf\lib directory.

To modify the message text:

  1. Extract the CommerceMailMsg.properties file from the CommerceLdapCmd.jar file.

    or

    If you are using a zip utility such as WinZip that lets you edit a file without first extracting the file, open the CommerceLdapCmd.jar file in that utility.

  2. Open the CommerceMailMsg.properties file in a text editor.

    The text for the notification messages is found in the following three sections:

    ## E-mail: Purchase Message
    ## E-mail: Request Approval Message
    ## E-mail: Response to Request Message

    You can include any text you want by entering it. You can add comments to the file by entering text preceded by a pound sign (#).

    The predefined arguments you can use are listed at the beginning of the file. For example, you can use argument 0 to include the current date and time in the text.

  3. Edit the message text and save the changes.

  4. If you extracted the CommerceMailMsg.properties file from the .jar file to edit it, add the edited file back into the .jar file.