
Has anyone faced similar issue while enabling mailbox with POP3/SMTP Profile. I have already checked at email server end, but there is not such issue from email server end, request from D365 Online itself is not able to reach email server:
>Error : MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.
The SSL certificate presented by the server is not trusted by the system for one or more of the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. The certificate presented by the server is expired or invalid.
See github.com/.../FAQ.md for possible solutions. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted
--- End of inner exception stack trace ---
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest,...
*This post is locked for comments
I have the same question (0)Are you using an on-prem exchange server that connects to Dynamics online? IF so, have you made sure that the exchange service account that you use in Dynamics is properly impersonated as per MSFT Documentation (docs.microsoft.com/.../connect-exchange-server-on-premises)