Saturday, July 5, 2008

Exchange2007:Pickup and Replay directories

By default, Pickup and Replay directories are in the following directory.
c:\Program Files\Microsoft\Exchange Server\TransportRoles\

The Replay directory is used to resubmit exported Exchange messages and to receive messages from foreign gateway servers. These messages are already formatted for the Replay directory. There is little or no need for an administrator or other application to compose and submit new message files by using the Replay directory. The Pickup directory should be used to create and submit new message files.

Take a look of the eml file used in both directories.

I have an domain: terrace.com with exchange 2007 installed. Kaiming.Liao@Terrace.com is my email address for testing.

I have a pop3 account, which is configured in Windows Mail. You could open an e-mail and save it to the pickup directory. It will automatically be delivered.

The following simple code composes the eml file, which can be put in PICKUP directory but not REPLAY directory.

From: "Kaiming Liao" <kaiming.liao@terrace.com>
To: "'Kaiming Liao'" <Kaiming.liao@terrace.com>
Subject: NIFCS website development

Hello TLC Team:

http://dev.nifcs.org/ This is development homepage of NIFCS.

The last two at the bottom is what we are working with. Your participationand suggestion would be greatly appreciated.

Regards,

The following simple code composes the eml file, which could be put in REPLAY directory for delivery.

X-Receiver: <kaiming.liao@terrace.com>
X-Sender: <bob@contoso.com>
To: Kaiming.liao@terrace.com
From: bob@contoso.com
Subject: Optional message subject

The Replay directory receives messages from foreign gateway servers and resubmits messages that administrators export from the queues of Exchange 2007 servers.

=======
An application could use the pickup directory to send e-mail.