Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

M-Files Mail Source Authentication Error

Last updated on 3 April 2025 · 2 min read

Admin
Connections to External Mail Sources (Integrated)

Overview

After specifying configuration for external mail source including authentication, the connection fails with:

Error Message : MPropertyPage2.cpp, 100, Authentication failed. (0x80040162)
MPropertySheet2.cpp, 142, Authentication failed. (0x80040162)
PropertySheetExternalLocation.cpp, 397, Authentication failed. (0x80040162)
PropertySheetExternalLocation.cpp, 590, Authentication failed. (0x80040162)
ExternalMailSourceClient.cpp, 232, Authentication failed. (0x80040162)
ExternalMailSourceClient.cpp, 232, Silent Microsoft authentication failed. One or more errors occurred. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. An existing connection was forcibly closed by the remote host (0x80040162)

Solution

There are several things to examine in this instance.

Firstly, if no external mail sources are working it is likely a firewall blocking the mail servers' port.   This article explains more:

https://m-files.my.site.com/s/article/external-mail-source-issue-with-Office-365

If this mail source is not working but others are, it could be related to some legacy TLS settings that prevent proper connectivity.  This is discussed in more detail here: 


https://m-files.my.site.com/s/article/Azure-AD-TLS-1-0-and-1-1-Error

If other mail sources are working, try RDPing directly into the M-Files server (for on-premises deployments), and run the M-Files Admin Client from there.  This may also be indicative of TLS issues (TLS 1.2 has be be enabled and in use on the server) at the client machine level--likely TLS is not enabled on the machine running the M-Files Admin Client.

Still need help?

On this page