This will instruct the Email Router to process emails from each mailbox starting from time (Now - N), i.e, N days before now.


   <ProviderOverrides>
      <MessageProcessingThresholdDays>1</MessageProcessingThresholdDays>
    </ProviderOverrides>

 

Steps to be followed:

 

1. Stop the Email Router Service. To do so, open Services.msc and look for "Microsoft CRM Email Router". Stop this service.
2. In your installation Directory, browse to "Service" folder. By default this will be at "C:\Program Files\Microsoft CRM Email\Service"
3. Take a backup copy of "Microsoft.Crm.Tools.EmailAgent.xml" and store it in a safe location. Open "Microsoft.Crm.Tools.EmailAgent.xml" for edit. Inside the <ProviderOverrides> node, add a new node "<MessageProcessingThresholdDays>1</MessageProcessingThresholdDays>".
4. Change the value 1 to any number 'N' suitable for your needs and save changes.
5. Take a backup copy of "Microsoft.Crm.Tools.EmailAgent.SystemState.xml" and store it in a safe location. Open "Microsoft.Crm.Tools.EmailAgent.SystemState.xml" for edit. Delete entire content and add only "<State> </State>".
6. Save changes and Start the Email Router Service.

Note: Both files must be edited as mentioned. This will apply to all mailboxes that the router is configured.