Hi
We have Problems sending Mails (mostly with Attachement) from CRM per Server side Sync.
Instead of beeing sent it remains as a draft in the sending User's Exchange-Profile.
The main problem occures in a crm-queue with a shared Mailbox configured to recive and send mails per ServerSideSync.
But I also could reproduce the symptom with a normal "user" (who normaly use "Outlook-Client" Sync for other reasons)
We use
- Dynamics 365 8.2.1.176 (and previous Versions) onPremise,
- Exchange Server Version: Exchange 2010 Sp3 Ru18
When the error occures, CRM Traces show the error “Connection closed” while trying to attach the attachment to the already created mail.
Sometimes he fails after attaching, but still failed sending it (perhaps a second attachement, …)
Error creating attachment(s) for outgoing mail item GUID_HERE. Error Details: Unhandled Exception: System.Net.WebException: Die zugrunde liegende Verbindung wurde geschlossen: Unerwarteter Fehler beim Senden..
It's a German system, so i dont know exactly how it's called in english.
Bing translates it as "The underlying connection was closed: An unexpected error occurred while sending."
On the Exchange Site there is no "failure-entry", it looks like the crm just stopped the process.
The error morphed a little bit through time:
First mails where Stuck once, sent on second try.
Some time later then he needed 10 attempts, or mails got not sent at all, sometimes with Status sent in CRM, which was the worst
And now its again mostly 1 failing attempt.
The error occurs on 3 different CRM-Servers, all using the same Exchange.
So my first thought was: Exchange Problem.
But we have other Programs using the EWS without Problems, and also not all Mails get stuck.
So its not a completely wrong config ...
Any Ideas?
I am also not sure about the category "Email Router".
As far as i understood "E-Mail Router" and Server Side Sync are two different things.
But the "Categories" - List does not include anything regarding E-Mails other than "E-Mail Router"
Is the "server side sync" also treated under this Name, or shold i use an other category?
best regards
Stefan