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

Fetching from External mail source is failing with timed out error

Last updated on 12 December 2022

Admin
Connections to External Mail Sources (Integrated)

Overview

OAuth based External Mail sources Exchange Online and Google Mail currently have default timeout value to control how long each mail operation may take. With larger mail content this limit can be exceeded when download operation takes longer and the mail is not fetched to M-Files. In these cases, the following error can be found from Windows Event logs:

..Downloading a message failed.

Downloading message: xx.. timed out (0x8004016F).

Solution

Starting from M-Files August 22' release the value for download timeout can be increased in the Advanced Vault settings of M-Files Admin tool:

  1. Expand the desired vault
  2. Select its Configurations item
  3. Expand Advanced Vault Settings
  4. Expand Configuration
  5. Go to Connections to External Sources > Mail Sources Common > Timeout for downloads
  6. Change the maximum number of seconds before download operation is cancelled

For older releases the "Mail Service Timeout" setting can be used that controls the timeout for the whole mail processing operation.

  1. Expand the desired vault
  2. Select its Configurations item
  3. Expand Advanced Vault Settings
  4. Expand Configuration
  5. Go to Connections to External Sources > Mail Sources Common > Mail Service Timeout
  6. Change the maximum number of seconds before mail fetching operation is cancelled

Still need help?

On this page