Creating File System Mailboxes

After you have configured the File System Gateway, you must create mailboxes for each Trading Partner with whom you exchange messages.

Before you begin creating mailboxes for your Trading Partners you must have the following pieces of information:

  • Trading Partner name
  • Trading Partner EDI code or your trading partner’s e-mail address
  • The folder where outbound messages to this Trading Partner are to be stored
  • The folder where inbound messages from this Trading Partner are to be retrieved

Use this procedure to create File System mailboxes.

  1. Open the Mailbox Server Manager.
  2. Right-click on the Mailboxes folder icon and select Create.

    The system displays the Create Mailbox Wizard dialog box.

  3. Enter the name of the mailbox you are creating, and click Next twice.
  4. Select Yes, use this mailbox as a gateway.
  5. Select File System as the type of gateway to use with this mailbox and click Next.

    The system displays the Summary dialog box.

  6. Click Finish.
    Note: If the information that you entered is not correct, click Back to correct the information and then click Finish.

    The system displays the File System Gateway Properties dialog box.

    Note: If you attempt to create a mailbox and the data store is missing, the system generates an error message box informing you that the mailbox cannot be created. Click OK to exit the message box and click Cancel to exit the Create Mailbox Wizard.
  7. If you are sending messages to a Trading Partner, select the Extraction tab and do the following:
    1. Select Extract files from this mailbox.
    2. Enter a valid path name in the When a message is sent to this mailbox, extract it to this folder box.
    3. Select one of the following:
      • Append all messages to a single file option and enter a filename in the box.
      • Put each message in a separate file
      • Put each attachment in a separate file
    4. If you receive messages from a Trading Partner, click the Collection tab and continue with the next step.

      Otherwise, click OK; you have completed this procedure.

  8. If you are receiving messages from a Trading Partner, select the Collection tab and do the following:
    1. Select Collect files into this mailbox.
    2. Enter a path name in the Collect files from this folder box.
      Note: We recommend that you create a new folder for collecting files. Do not use a folder that contains files with the following extensions: .exe, .dll, .hlp, .bat, .cmd, .sys, .cpl, .ocx, .map, .stp, .tpl, .ses, .ard, .arv.

      Be aware that all items in the new folder will be collected and deleted.

    3. Select one of the following:
      • Create a single message with all files in one attachment
      • Create a single message with an attachment for each file
      • Create a message for each file
    4. Enter Application/EDI in the Use this Content Type for all attachments box.
      Note: You may also enter Application/Import to have the system import the message and automatically import the file.
    5. Click Edit Recipients.

      The system displays the Edit Recipients dialog box.

    6. Select Gentran Application and click To to forward message that you receive to Sterling Gentran:Server®.

      The system displays the Email Addresses dialog box.

    7. If needed, enter the e-mail address in the box and click Add. Repeat this step for each e-mail address that you want to specify. Then click OK to return to the Edit Recipients dialog box and proceed to the next step.

      Otherwise, click Cancel and proceed to the next step.

  9. Click OK to return to the Collection tab.
  10. Click OK to save your changes.