I’m working on adding MESH functionality into our systems and am struggling to understand some of how MESH works.
As part of the send message endpoint you specify content type. Initially I was setting that to application/pdf, however the message was always received as application/octet-stream. I then spoke to NHS digital who said that all messages are sent in that manner, and that any header containing the content-type is ignored.
So my question: How does MESH know what document I’m sending? .pdf .doc or even just .txt
At the moment I’m sending the content as the base64_encoded string of the PDF, but have no idea how it is being received at the client end as I don’t yet have access to a mailbox with a GUI!