Export (0) Print
Expand All

CrmPollingMailboxProvider Class (E-mail Providers)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Provides advanced polling-based processing semantics applied to a mailbox.

The CrmPollingMailboxProvider class inherits from PollingMailboxProvider. It exposes the following members.

Instance MethodDescription
AcceptMessageChecks a message for delivery.
AcceptMessageInternalChecks a message for delivery.
CheckVerifies that the provider works as expected.
CloseMailboxCloses a mailbox.
DeliverMessageDelivers a message.
DeliverMessageInternalDelivers a message.
HandleAcceptMessageErrorHandles errors when checking a message for delivery.
HandleDeliverMessageErrorHandles errors when delivering a message.
HandleOpenMailboxErrorHandles errors when opening a mailbox.
HandleRetrieveNextMessageErrorHandles errors when retrieving the next message.
HandleValidateMessageErrorHandles errors when validating a message.
OpenMailboxOpens a mailbox.
RetrieveNextMessageRetrieves the next message.
RetrieveNextMessageInternalRetrieves the next message.
RunImplements the primary e-mail processing feature of the provider.
ValidateMessageValidates a message.
ValidateMessageInternalValidates a message.

Instance PropertyDescription
LastErrorGets or sets the last error that occurred.
MaxMessageCountGets the maximum number of messages to download in one polling period.


This class offers a design pattern for processing e-mails in a mailbox and delivering those e-mails to Microsoft Dynamics CRM using the CheckIncomingEmail, DeliverIncomingEmail, and ProcessInboundEmail messages. This class implements functionality to handle typical message processing flows, error detection and recovery, performance counter updates, automatic event logging, and more.


Namespace: Microsoft.Crm.Tools.Email.Providers

Assembly: Microsoft.Crm.Tools.EmailProviders.dll

See Also


© 2010 Microsoft Corporation. All rights reserved.

© 2015 Microsoft