NAV SMTP Versand O365 – unable to read data from the transport connection

Veröffentlicht von

Wenn die E-Mail Versand Fehlermeldung Failure sending mail. Unable to read data from the transport connection: net_io_connection closed erscheint, liegt das an der fehlenden TLS1.2 Unterstützung in der NAV2016 / NAV2017 SMTP Codeunit.

Hierzu das Sicherheitsprotokoll in der C400 SMTP Mail TrySend auf Codeunit auf TLS1.2 erhöhen.

ServicePointManager@1100108002 : DotNet „‚System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘.System.Net.ServicePointManager“;
SecurityProtocolType@1100108001 : DotNet „‚System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089‘.System.Net.SecurityProtocolType“;