Aspose.Email Cloud /email/as-file API not working

Hi,
we have successfully used /email/as-file API in past with good results. However, it seems like API is not working as expected. Despite passing an htmlBody, file from the response does not contain a body.

You can replicate the behaviour with your swagger using this payload:

{
“format”: “Eml”,
“value”: {
“attachments”: [
],
“body”: “Some body”,
“bodyType”: “Html”,
“date”: “0001-01-01T00:00:00”,
“deliveryNotificationOptions”: [
“OnSuccess”,
“Delay”
],
“from”: {
“displayName”: “From Address”,
“address”: “from@aspose.com”,
“participationStatus”: “NeedsAction”
},
“htmlBody”: “Some body”,
“isBodyHtml”: true,
“isDraft”: true,
“isEncrypted”: false,
“isSigned”: false,
“originalIsTnef”: false,
“priority”: “High”,
“sensitivity”: “None”,
“subject”: “Re: Some subject”,
“to”: [
{
“displayName”: “To Address”,
“address”: “to@aspose.com”,
“participationStatus”: “NeedsAction”
}
]
}
}

@beeintegrations
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILCLOUD-474

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@beeintegrations ,

We’re happy to inform you that the issue has been fixed. Please, check and spare a minute to share your feedback.

Thank you.

Your fix is working! Thanks a lot for your support!

@PMBA ,

Thank you for the feedback.
If you have any further questions, feel free to contact us.

Hi @margarita.samodurova
we are experiencing a problem with the same API that we reported in July. Is it possible to check that everything is working properly on your side, and if so, proceed with a fix as it was done? Thank you very much

Hello @PMBA ,

Thank you for sharing.

We’ll test the API on our side asap and get back to you with the result.

Hello @PMBA ,

It works well for .json files on our side. The problem might have appeared with other types of data. Could you please share the sample code for investigation?

Hi @margarita.samodurova,
after further investigation, we discovered that if the htmlBody parameter is quite large, response returned from aspose cloud is the following:

{'requestId': '8cf0bd4be06dc4aea2f28cfe71451750', 'error': {'code': 'internalError', 'message': "No space left on device : '/tmp/ASPNETCORE_b924053c-4333-48c6-93ed-906774b8e0d4.tmp'", 'description': 'Operation Failed. Internal error.', 'dateTime': '2025-01-15T09:14:34.0672622Z'}}

@beeintegrations
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILCLOUD-477

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@beeintegrations ,

The issue has been resolved. Please try again and share your feedback.

@margarita.samodurova
thanks for your support, really appreciated!

All is working great!

@beeintegrations ,

You’re welcome! If you have further questions or need assistance, feel free to ask.