Skip to main content

Hello,

 

I want to download a message (email) as msg file-type via Core API. 

It’s possible?

Hi @d.herrmann

It is possible to do this as documented here in the green info box, using the “Get message” endpoint.

By default, the endpoint returns the documented JSON data. However, you can now request the response to contain the message in the .eml format by setting the HTTP Header Accept to message/rfc822.

 

Note that this format is only supported for messages of type email. Requesting this format for any other message type will result in a JSON error response.

Best, 
Molly
Front Technical Support


Hi @d.herrmann

It is possible to do this as documented here in the green info box, using the “Get message” endpoint.

By default, the endpoint returns the documented JSON data. However, you can now request the response to contain the message in the .eml format by setting the HTTP Header Accept to message/rfc822.

 

Note that this format is only supported for messages of type email. Requesting this format for any other message type will result in a JSON error response.

Best, 
Molly
Front Technical Support

 

Thank you it’s works :-)


Reply