Mailboxes are used for routing. They eliminate the need for multiple passes over the data used for routing because they allow one pass of mapping to send separate data files to multiple mailboxes.
The mailbox is used by the trading partner, both as the sender and the receiver of data. When the trading partner is the sender, the mailbox is the folder where the input data resides before it is run through the map. When the trading partner is the receiver, the mailbox is the folder where the output data created by a map is stored so that it can be picked up by the trading partner.
GOOD mailboxes – used by Compliance maps.
BAD mailboxes – used by Compliance maps and Inbound maps.
IN mailboxes – used both by Inbound maps and by Outbound maps with the Route In switch set.
OUT mailboxes – used both by Outbound maps and by Inbound maps with the Route Out switch set.
OTHER mailboxes – used internally for data that moves between IN or GOOD folders into the OTHER folder for processing.