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 MailBox rules:
Every Communications Channel must have its own mailbox.
Every Trading Partner must be linked to a mailbox.
Every Trade Agreement (Trade Status Record) can override the mailbox of the trading partner.
Mailboxes can exist without being associated with either a Channel or a Trading Partner.
To configure mailboxes (general procedure), follow these steps:
Click the MailBox icon on the left side of the desktop.
Select a mailbox listed on the area on the right side of the desktop.
Right-click to display a menu.
From the menu that is displayed, you can add a new mailbox by clicking New. You can delete the selected mailbox by left-clicking Delete. You can edit the name and directory location of the mailbox by left-clicking Properties. By clicking View, you can view the files, communications channels, trading partners, or trading agreements associated with the mailbox. Details of these actions are presented below.
Creating a new mailbox
Select New.
The MailBox Definition window displays.
Enter the name of your new mailbox in the Name text box. The name of your mailbox must be unique.
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.
Click OK. The new mailbox is created with five default folders. The default folders created are IN, OUT, GOOD, BAD, and OTHER.
Folder name |
Description |
---|---|
IN |
The communication script places incoming files into the IN box for the Mailbox. |
OUT |
Transactions, which are to be transmitted, would be placed in the OUT mailbox. |
GOOD |
The transactions that pass the optional compliance checking routine would be placed in the GOOD mailbox. |
BAD |
The transactions that failed the optional compliance checking routine would be placed in the BAD mailbox. |
OTHER |
Generic folder used by EC Gateway for processing. |
Modifying an existing mailbox
Select the mailbox on the area of the desktop.
Right-click to display the menu.
Select the Properties option.
The MailBox – Properties window displays with the name of the mailbox presented in the title bar.
The name of this existing mailbox is automatically entered in the Name text box.
The pathname for the folder is automatically entered in the Folder text box. You can change this pathname.
Click OK.
Deleting an existing mailbox
Select the mailbox on the area of the desktop.
Right-click and the menu displays.
Select Delete. A confirmation dialog box displays.
Click Yes. A second confirmation dialog box displays if the mailbox folder exists.
Click Yes. An ECEDIGS dialog box displays.
Click OK. The mailbox and its subdirectories and files are deleted.
Click Yes on both confirmation dialog boxes to delete
both the mailbox and its subdirectories and files.
You cannot delete a mailbox that is used by a trading
partner.
Viewing mailbox items
Select the mailbox on the area of the desktop.
Right-click to display the menu.
Select the View option.
Select one of the four options—Channels, Asynchronous, Tranding Partner, or Trade Agreement—in the submenu. Each option displays a set of objects that are related to this mailbox.