Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Convert → Convert Eml To Pdf

AI-generated

Summary

Convert an EML email file to a PDF document, optionally including attachments and recipient details as specified.

Inputs

  • fileInputBinaryProperty — The name of the binary property containing the EML file data to convert (defaults to 'data').
  • fileId — An identifier for a server-side file to convert instead of providing the file data directly.
  • includeAttachments — Whether to include email attachments in the generated PDF.
  • maxAttachmentSizeMB — Maximum size in megabytes for attachments to include, between 1 and 100 MB; default is 10MB if not set.
  • downloadHtml — If true, download the intermediate HTML file instead of the final PDF.
  • includeAllRecipients — Include CC and BCC recipients in the PDF email header if available.

Output shape

a single binary file representing the converted PDF or optionally an HTML intermediate file

The output is a binary property containing the converted document. Use 'fileInputBinaryProperty' to specify input file data or 'fileId' to reference a server-side file. Options control inclusion of attachments and recipients. Attachments are filtered by size if specified.

Links

Discussion