Skip to main content
Question

MAIL_READER not working

  • April 27, 2026
  • 4 replies
  • 12 views

Forum|alt.badge.img+11

Hi Guys,

I trying to configure my mail_reader to read my invoices attached to a mailbox. I configured my mail_reader like below. How validate that IFS is going to get the information at this mailbox?

IFS Version: 25R2.3

 

 

Thanks,

 

Gianni Neves

4 replies

Forum|alt.badge.img+9
  • Hero (Partner)
  • April 28, 2026

Hi Guys,

I trying to configure my mail_reader to read my invoices attached to a mailbox. I configured my mail_reader like below. How validate that IFS is going to get the information at this mailbox?

IFS Version: 25R2.3

 

 

Thanks,

 

Gianni Neves

Hi ​@gianni.neves ,

Your configuration looks mostly good! Here's what to check and validate step by step:

 What's Correct in Your Setup

  • Host: outlook.office365.com 
  • Port: 993 with IMAP + TLS 
  • Authentication: Client Credentials (right choice for O365) 

Things to Verify

1. Azure App Permissions (Most Common Issue) Your Azure AD App Registration must have:

  • IMAP.AccessAsApp — application permission
  • Admin Consent must be granted
  • Go to: Azure Portal → App Registrations → Your App → API Permissions

2. Enable the Mailbox for IMAP Run this in Exchange Admin PowerShell:

Set-CASMailbox -Identity "yourmailbox@domain.com" -ImapEnabled $true

3. Access Token URL Format Should be exactly:

https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token

Make sure it's v2.0 not just /oauth2/token

4. Turn on "Create Response" Currently it's OFF — if you need IFS to process and respond to emails, toggle this ON

🔍 How to Validate It's Working

Go to: IFS Cloud → Solution Manager → Background Jobs

  • Look for MAIL_READER job
  • Check execution logs for errors
  • Change Log Level from Warning → Info temporarily to see full detail

Quick Test: Send a test invoice email to the mailbox → Check Background Jobs → If it picks it up, you're good! ✅

Try the Azure permissions fix first — that's the #1 reason Client Credentials auth fails on O365.

Hope this helps!


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • April 28, 2026

Thanks ​@Lingesan08, much appreciate your help.

IT support technician has fixed the azure permission, but what I find weird is that I cannot see any background job for MAIL_READER.

Any idea?

 

Thanks,

 

Gianni Neves 


Forum|alt.badge.img+9
  • Hero (Customer)
  • April 28, 2026

@gianni.neves  You need to check the Application Message page and the background job page.


Forum|alt.badge.img+11
  • Author
  • Hero (Customer)
  • April 28, 2026

@gianni.neves  You need to check the Application Message page and the background job page.

I just checked and neither of them has any call or receive information for MAIL_READER.

 

Thanks,

 

Gianni Neves