Converting HTML to EML, MSG and OFT not functional

The converting functionality is not working. When the output format is different than EML the API returns error. When I select EML than plain HTML is returned. Not even valid EML file format.

@kuca,
Welcome to our community! Thank you for contacting support. It will take me a while to check it. I will answer you as soon as possible.

@kuca,
Thank you for your patience. There are some issues related to API description. We will fix them later. Could you share the input file and parameters you used, please?

Sure, enl.zip (3.3 KB)
The HTML is responsive email template.

Output format: EML, MSG or (best) OFT

@kuca,
Thank you for the file example. Also, please share the error description and specify the method you used.

@kuca,
Your request URL should be like this:
https://api.aspose.cloud/v4.0/email/convert?fromFormat=Html&toFormat=Oft

Format conversion using curl:
curl -X PUT "https://api.aspose.cloud/v4.0/email/convert?fromFormat=Html&toFormat=Oft" -H "accept: multipart/form-data" -H "authorization: Bearer <auth token here>" -H "Content-Type: multipart/form-data" -d @enl.html --output enl.oft

Documents: How to Convert Email From One Format to Another
API Reference: EmailConvert