Wednesday, April 13, 2011

How to initialize a IMimeMessage object from IStream

Given an empty MimeMessage created with e.g. MimeOleCreateMessage function, how can I initialize it from an IStream / data buffer, which contains the complete message text?

From stackoverflow
  • If I'm not wrong IMimeMessage returned by MimeOleCreateMessage supports IPersistStream stream then you have Load & Save methods.

    Yarik : Thank you. Already found out the way myself. Turned out to be piece of cake :).

0 comments:

Post a Comment