The EML to PDF Converter is a simple yet powerful OutSystems component that converts any .eml email file directly into a PDF document. It provides a single server action — EMLToPDF — which takes the email file in binary format and returns a clean, readable PDF version of the same email.
.eml
This component is ideal for applications that need to store, download, display, or archive email messages in a universally accepted PDF format.
You only need to pass the EML file (Binary) to the action:
EmlFile — Binary content of the .eml email file.
PdfFile — Binary content of the generated PDF.
The component automatically extracts the emails:
Subject
Sender (From)
Recipients (To, CC)
Date
Body (HTML or plain text)
Then it converts the content into a structured HTML layout and finally renders it as a PDF.