Properties of the Microsoft Dynamics CRM 4.0 E-mail Router unexpectedly return to their default settings

This article has been archived. It is offered "as is" and will no longer be updated.
The Microsoft Dynamics CRM 4.0 E-mail Router uses a configuration file that is named EmailAgent.xml. This file has many properties that can affect the behavior of the router. However, when you change the following properties in the "Provider" sections of the EmailAgent.xml file, the values return to their default settings every hour or every time the E-mail Router service restarts:
  • CacheCapacity
  • PendingStatusDelay
  • SendingStatusDelay
  • MaximumDeliveryAttempts
  • BatchSize
  • RequestBatchSize
This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes
More information
After you install this hotfix, you can override the properties for all providers by adding a new "ProviderOverrides" section for each property that you want to change. To do this, add an entry for a property together with a new value in the "ProviderOverrides" section under the "SystemConfiguration" node in the EmailAgent.xml file. The following is a sample node.
<Configuration>  <SystemConfiguration>    <MaxThreads>50</MaxThreads>    <MaxThreadExecution>600000</MaxThreadExecution>    <SchedulingPeriod>1000</SchedulingPeriod>    <ConfigRefreshPeriod>5000</ConfigRefreshPeriod>    <ConfigUpdatePeriod>30000</ConfigUpdatePeriod>    <LogLevel>2</LogLevel>    <ProviderOverrides>      <CacheCapacity>7</CacheCapacity>      <PendingStatusDelay>7</PendingStatusDelay>      <SendingStatusDelay>8</SendingStatusDelay>      <MaximumDeliveryAttempts>7</MaximumDeliveryAttempts>      <BatchSize>7</BatchSize>      <RequestBatchSize>7</RequestBatchSize>    </ProviderOverrides>  </SystemConfiguration>
Note You cannot override the values for specific providers. Any value that is specified in the "ProviderOverrides" section will apply to all providers.

Article ID: 972150 - Last Review: 01/16/2015 04:02:17 - Revision: 2.0

Microsoft Dynamics CRM E-mail Router

  • kbnosurvey kbarchive kbexpertiseinter kbfix kbmbsemail kbsurveynew kbmbsmigrate kbqfe KB972150