Hi everyone,
Is there a way to display the contents of an email file (e.g., .eml or .msg) within the Business Central AL environment?
I’m looking for a solution that would allow users to view the content of such files (including subject, body, attachments) directly from Business Central, ideally using AL code.
Has anyone implemented something similar or knows if this is supported?
Thanks in advance!
.msg
Hey! Business Central doesn’t support viewing .eml or .msg files directly out of the box, but there are a couple of ways you can make it work. You can use an external service (like an Azure Function) to read and parse the email file — for example, with tools like MimeKit or Microsoft Graph. The parsed data (subject, body, attachments) can then be sent back to BC in JSON format using AL's HttpClient, and displayed in a custom page.
.eml
HttpClient
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,888
Jainam M. Kothari 3,386 Super User 2025 Season 2
YUN ZHU 2,041 Super User 2025 Season 2