Share via


WCF Exchange Server Mail Transport Sample

The WCF Exchange Server Mail Transport sample demonstrates a simple "Hello, World" message transaction across the Microsoft Exchange Server mail transport. This transport is based on Windows Communication Foundation (WCF) in the .NET Compact Framework. This sample, which is available only in Visual C#, demonstrates a client running on the device that interacts with a server running on the desktop.

Note

For more information about WCF on the .NET Compact Framework, see Windows Communication Foundation (WCF) Development and the .NET Compact Framework.

For information about using the samples, see the following topics:

To build and deploy the sample using Visual Studio

  1. Open Windows Explorer and navigate to the E-mailMessageHelloWorld directory for this sample.

  2. Double-click the solutions (.sln) file for this sample.

  3. Press F5 to compile and run the sample.

  4. Deploy the sample to the device or emulator.

Requirements

Microsoft Visual Studio 2008 must be installed with the smart device development components. This includes the .NET Compact Framework version 3.5, which is required to build and run the sample. To compile the sample using msbuild.exe, see How to: Compile at the Command Prompt.

To run the sample, you must set up an Exchange server with the e-mail accounts that are described in the sample. The device must be configured to synchronize with the Exchange server.

To install the .NET Compact Framework on the device, see How to: Install the .NET Compact Framework.

See Also

Other Resources

.NET Compact Framework