Skip to main content
Solved

Can i download a message (email) as msg file via Core API?

  • August 23, 2024
  • 2 replies
  • 159 views

Hello,

 

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

It’s possible?

Best answer by molly

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

2 replies

molly
Forum|alt.badge.img+3
  • Fronteer
  • Answer
  • August 26, 2024

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


  • Author
  • Conversationalist
  • September 2, 2024

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 :-)