The Below error message is logged in Event Log on CRM Email Router server while processing a specific mail to CRM.

Error Message:

#9628 - An error occurred while delivering the email message with subject "FW: Email Subject" in mailbox for delivery to System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

   at System.Net.HttpWebRequest.GetResponse()

   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

   --- End of inner exception stack trace ---


We noticed that the emails with large attachments (>30MB) failed with the above message while Email Router try to process them to CRM. And this mail will interrupt the processing of other mails till the Maximum number of attempts are exceeded and moved to Failed state.

If you are facing this issue with all the mails, take a look at below article.