locked
CRM 4 Email Router won't process new emails RRS feed

  • Question

  • Hi,

    Our CRM4 email router has stopped working after a server reboot. It monitors a single shared inbox. We are on UR 13.

    Running the tests in the router config manager comes back 100% successful. If you delete SystemState.xml and restart the router service, then it will process everything in the inbox but then stop processing any emails that arrive after that point. I have used the CRM email connector logger and it shows the mailbox is being checked but the new emails are not being found. So it continuously cycles through these 4 entries in the event logs:

    • Opening mailbox
    • Checking for email messages to process
    • There are no more email message to process
    • Closing mailbox

    SystemState.xml currently has:

    <ThresholdDate>2014-08-12T13:17:29.0000000Z</ThresholdDate>

    (it's 14:38 at time of writing)

    The email agent configuration contains:

    <SystemConfiguration>
        <MaxThreads>50</MaxThreads>
        <MaxThreadExecution>600000</MaxThreadExecution>
        <SchedulingPeriod>1000</SchedulingPeriod>
        <ConfigRefreshPeriod>5000</ConfigRefreshPeriod>
        <ConfigUpdatePeriod>60000</ConfigUpdatePeriod>
        <LogLevel>1</LogLevel>
      </SystemConfiguration>

    <ProviderConfiguration deploymentId="c0df5393-9820-4c49-a696-87d9c75b195b">
        <ProviderAssembly>Microsoft.Crm.Tools.EmailProviders.dll</ProviderAssembly>
        <LogFile>C:\Program Files\Microsoft CRM Email\Service\The_TeamLog.txt</LogFile>
        <LogLevel>3</LogLevel>
        <ProviderClass>Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider</ProviderClass>
        <CrmServerUrl>http://crm/company</CrmServerUrl>
        <CrmSecureServerPort>0</CrmSecureServerPort>
        <CrmAuthMode>WindowsAuthentication</CrmAuthMode>
        <CrmUser>company\crm4admin</CrmUser>
        <CrmPassword>{2A48C4DB-F2BF-48fF-A8EF-20F531EA9BAA}:9Zfgp4jAdn9RZNfOxYumAw==</CrmPassword>
        <EmailServer>https://exchange.company.co.uk/EWS/Exchange.asmx</EmailServer>
        <EmailAuthMode>WindowsAuthentication</EmailAuthMode>
        <EmailUser>company\crm4admin</EmailUser>
        <EmailPassword>{2A48C4DB-F2BF-48DF-A8EF-20F531EA9bAA}:dF8rXap1rVhmqktnrmGdtg</EmailPassword>
        <EmailAddress>leads@company.co.uk</EmailAddress>
        <Target>The Team</Target>
        <Direction>Inbound</Direction>
        <CacheCapacity>1024</CacheCapacity>
        <IsForwardMailbox>false</IsForwardMailbox>
        <DeleteEmails>false</DeleteEmails>
        <ProcessAndDeleteAllEmails>false</ProcessAndDeleteAllEmails>
        <ConnectionTimeout>300000</ConnectionTimeout>
        <PollingPeriod>45000</PollingPeriod>
        <MaxMessageCount>200</MaxMessageCount>
        <MessageExpiry>86400000</MessageExpiry>
        <EmailPort>80</EmailPort>
        <MoveEmails>true</MoveEmails>
        <EmailServerVersion>Exchange2007</EmailServerVersion>
        <Protocol>EWS</Protocol>
        <AccessCredentialsType>Other</AccessCredentialsType>
        <MessageProcessingThresholdDays>-1</MessageProcessingThresholdDays>
        <AccessCredentials>Other</AccessCredentials>
        <IsUser>false</IsUser>
      </ProviderConfiguration>

    Trying to figure out why it won't read the new emails. There are less than 200 (MaxMessageCount), they are less than a day old (MessageExpiry). Anytime I make changes to the config.xml though, they get overwritten.

    Can anyone help??

    Tuesday, August 12, 2014 1:44 PM