I had this issue before (see: https://community.dynamics.com/crm/f/117/t/306079) but now it is different. The CRM did not retrieve sometimes E-Mails that are waiting in our Exchange mailbox. First we thought only SMIME E-Mails are a problem, but now it also happens for E-Mails that are IPM.Note.
Here is the error we found in the log.
at EmailConnectorTraceHandler.EmailConnectorTraceFormat(Guid orgId, Object mailbox, Guid asyncEventId, TraceCategory traceCategory, TraceLevel traceLevel, String data) ilOffset = 0x163
at EmailConnectorTrafficMonitor.LogAllHeaders(TraceLevel logLevel, String logHeading) ilOffset = 0xA1
at <>c__DisplayClass4.<.ctor>b__2(Object sender, EventArgs args) ilOffset = 0x83
at EventHandler.Invoke(Object sender, EventArgs e) ilOffset = 0xFFFFFFFF
at ErrorHandler`1.HandleError(IErrorInfo errorInfo) ilOffset = 0x34
at IncomingEmailProviderBase.DeliverMessageInternal(IEmailMessage emailMessage, Boolean validateBeforeCreate) ilOffset = 0x5D7
at GetAttachmentStep.DoesAllAttachmentProcessed(IExchangeEmailMessage emailMessage) ilOffset = 0x76
at GetAttachmentStep.ProcessResponse() ilOffset = 0x55D
at ExchangeIncomingEmailProviderStep.EndOperation() ilOffset = 0x2F6
at ExchangeIncomingEmailProvider.ReceiveEmails() ilOffset = 0x86
at IncomingActivityProviderBase.Run() ilOffset = 0x42
at MailboxEmailOperation.PerformOperation() ilOffset = 0x2C
at MailboxOperationBase`1.Execute() ilOffset = 0xA4
at MailboxProcessingOperation.PerformOperation() ilOffset = 0x1A
at MailboxOperationBase`1.Execute() ilOffset = 0xA4
at MailboxOperationCommand.InternalExecute(MailboxAsyncEvent asyncEvent) ilOffset = 0xAA
at AsyncCallbackHandler`2.ResumeExecution(IAsyncEvent asyncEvent) ilOffset = 0x5B
at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory) ilOffset = 0x63
at PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager) ilOffset = 0x22A
at AsyncEventOperation.<.ctor>b__2(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at IsolatedOperation.Execute() ilOffset = 0x27
at MonitoredOperation.Execute() ilOffset = 0xD
at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state) ilOffset = 0x16
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x79
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x9
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x35
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA4
Logging request/response headers in: ExchangeIncomingEmailProvider for AsyncEvent: a8750b09-a5aa-4e95-9af3-48a8b1bfea95, Mailbox: a53f4111-b852-e811-9662-00155d0f380f --
Persistent-Auth: false,
Connection: close,
Cache-Control: private,
Content-Type: text/xml; charset=utf-8,
Date: Thu, 11 Apr 2019 09:10:36 GMT,
Server: Microsoft-IIS/7.5,
WWW-Authenticate: Negotiate oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsfvLx1VjFsAVCbJJ1q4KIRQ1sQ4Ufz5ThshvRmG5Zn47o+u7rS4OWVBdzwAlE/D82mLTdPmTwzoXPWwS1VCqCoLGjKw/YlefMbijNlKrIkfHEgwLVuiYREFOYinip3w32+f+Eo8+LglHtPG0AJpo,
X-AspNet-Version: 2.0.50727,
X-Powered-By: ASP.NET,
I did a test and simulated this E-Mail with the .Net SmtpClient. This E-Mail was retrieved by the CRM. See EWS-Editor:
(from top to bottom)
- A E-Mail from the customer that was not retrieved before (5)
- SmtpClient Test with same sender address as the customer has.
- E-Mail from the same domain but send by his colleague.
- Same as 3.
- Missing E-Mail, sender like in 1.
If I could simulate the problem I could enable the verbose trace. But it only happens sometimes and I have no clue why it does happen. We already updated CRM to the latest version 8.2.5.0004 in the hope that this would fix the issue.
*This post is locked for comments

Report
All responses (
Answers (