Search code examples
outlookexchange-serverexchangewebservices

Is there a way to get the fts stream data back from the parsed data we get from the fts stream?


As the output of the export items Api in EWS, we are able to get data in the form of fts stream, which can be parsed using outlook spy to get the data, is it possible to get the fts stream back from the parsed data?


Solution

  • FTS format is not documented. You can try to hack the data: it is really not very complicated - a stream of serialized MAPI properties with page breaks every 32k or so, but the format has never been documented.

    If using Redemption (I am is author) is an option, it supports exporting and importing FTS data through RDOMail.SaveAs and RDOMail.Import - you can create an MSG file using RDOSession.CreateMessageFromMsgFile, then import FTS data using RDOMail.Import(..., olFts)