Mailbox configuration

Selecting the Mailbox icon allows you to view and configure all mailboxes installed within the EC Gateway application. Each mailbox is represented on the right side of the EC Gateway window. MailBox is a very generic term defining groups of messages. This term describes the mechanism at work that holds the messages during message transformation and routing. MailBoxes are contained in a PostOffice. All MailBoxes are subdirectories beneath the PostOffice directory.

MailBox directories are used for communications, routing, data validations, and other functions. There are some general rules with regards to MailBoxes.

To configure a mailbox:

  1. Click the MailBox icon on the left side of the desktop.

  2. Select a mailbox listed on the area on the right side of the desktop.

  3. Right-click to display a menu. Add a new mailbox by clicking New. Delete the selected mailbox by clicking Delete. Edit the name and directory location of the mailbox by clicking Properties. Click View to view the files, communications channels, trading partners, or trading agreements associated with the mailbox. Details of these actions are presented below.

To create a new mailbox:

  1. Select New from the menu. The MailBox Definition window displays.

  2. In the Name field, enter a unique name for your new mailbox.

  3. The Folder text box is automatically populated with the default directory path defined during the initial configuration. You can change the destination directory and create a new folder for your mailboxes by changing the directory specified in the Folder field.

  4. Click OK. The new mailbox is created with five default folders. The default folders created are IN, OUT, GOOD, BAD, and OTHER as described in the table below.

    Folder name

    Description

    IN

    The communication script places incoming files into the IN box for the mailbox.

    OUT

    Transactions to be transmitted are placed in the OUT mailbox.

    GOOD

    The transactions that pass the optional compliance checking routine are placed in the GOOD mailbox.

    BAD

    The transactions that fail the optional compliance checking routine are placed in the BAD mailbox.

    OTHER

    Generic folder used by EC Gateway for processing.

To modify an existing mailbox:

  1. Select the mailbox on the area of the desktop.

  2. Right-click and select Properties from the pop-up that appears.

  3. The MailBox – Properties <mailbox name> window displays with the name of the mailbox presented in the title bar.

  4. The name of this mailbox is automatically entered in the Name text box.

  5. The path name for the folder is automatically entered in the Folder text box. You can change this path name.

  6. Click OK.

To delete an existing mailbox:

  1. Select the mailbox on the area of the desktop.

  2. Right-click and select Delete from the pop-up that appears. A confirmation dialog box displays.

  3. Click Yes. A second confirmation dialog box displays if the mailbox folder exists.

  4. Click Yes again to delete the mailbox subdirectories and files.

  5. Click OK. The mailbox and its subdirectories and files are deleted.

    NoteYou cannot delete a mailbox that is used by a trading partner.

To view the items associated with an existing mailbox:

  1. Select the mailbox on the area of the desktop.

  2. Right-click and select View from the pop-up that appears.

  3. Select one of the four options in the submenu. Each option is a set of objects that are related to this mailbox. The objects are displayed in windows presented in samples below. These windows report all of the objects currently associated with the selected mailbox.