
Microsoft Dynamics NAV
---------------------------
The SMTP mail system returned the following error: "Failure sending mail.
Unable to read data from the transport connection: net_io_connectionclosed.".
---------------------------
OK
---------------------------
We are getting this while using office 356 email, gmail with enable of less secure apps and custom domian. non of them is working. Can anyonce help us in that issue how to fix it.
Hi Neha,
This may be caused by not having TLS 1.2 enabled for your NAV 2016 environment. You can enable it by adding the following key to the relevant CustomSettings.config file for the NAV Service:
<add key="SecurityProtocol" value="Tls12" />
You need to have cumulative update 31 (or a later CU) for NAV 2016 to use the above option. See following KB article for more details: https://support.microsoft.com/en-gb/help/4171918