WindowsMobileMailTransport Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the mail transport for Windows Mobile powered devices.

Namespace:  Microsoft.ServiceModel.Channels.Mail.WindowsMobile
Assembly:  Microsoft.ServiceModel.Channels.Mail.WindowsMobile (in Microsoft.ServiceModel.Channels.Mail.WindowsMobile.dll)

public sealed class WindowsMobileMailTransport : MailTransport

This class is used to manage the mail transport for Windows Mobile powered devices. The base class, MailBindingBase, implements most of the common functions such as configuring the message cache and the maximum number of retries.

The Transport property of the WindowsMobileMailBinding class is used to return the mail transport for the mail binding.

The following example demonstrates how to use the WindowsMobileMailTransport class.

// For a desktop application, use ExchangeWebServiceMailBinding.
binding = new WindowsMobileMailBinding();

binding.MinimumAttachmentSize = 1024;
// Set lifetime to 1 day, 10 hours, 20 minutes, and 30 seconds.
binding.TimeToLive = new TimeSpan(1, 10, 20, 30);
binding.Transport.ReceiveRetryCount = 5;


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5