Email to Pdf REST API

The API for converting E-Mail files to PDF files. These file formats eml, mbx, msg, oft can be converted to pdf, pdfa, png, jpg, tif.

Sign In

Endpoints

POST https://do.convertapi.com/Email2Pdf

Authentication Parameters

Parameter Description Value
ApiKey

Required

Number

API Key must be passed to authenticate API call. Get your own free ApiKey on http://www.convertapi.com/a

Input Parameters

Parameter Description Value
File

Required

Binary

Supported source file formats: eml, mbx, msg, oft

Parameters

Parameter Description Value
DocumentTitle

Optional

String

Set the title of the generated Pdf file. If value is not set a source document title is used instead.

DocumentSubject

Optional

String

Set the subject of the generated Pdf file. If value is not set a source document subject is used instead.

DocumentAuthor

Optional

String

Set the author of the generated Pdf file. If value is not set a source document author is used instead.

DocumentKeywords

Optional

String

Set the keywords of the generated Pdf file. If value is not set a source document keywords is used instead.

OutputFormat

Optional

Collection

Supported output file formats pdf, pdfa, png, jpg, tif. If output format is set to png or jpg a image file will be created for every converted document page and returned as zip file.

Default: pdf

StoreFile

Optional

Boolean

Store file on server and return url to file instead of file stream response. File will be available for 24 hours.

Default: false

Timeout

Optional

Number

Conversion timeout in seconds.

Default: 300 (5 ... 1200)

OutputFileName

Optional

String

Converted output file name. If parameter is not set the filename will be generated automatically.

Output Headers

Output Response