Discuss this help topic in SecureBlackbox Forum

MIME: Load and parse message

The first step in message processing is to load the message and parse it. This is done using TElMessage.ParseMessage() method. The method accepts the stream as the first parameter.

C#:


TElMessage message = new TElMessage(false, String.Empty);
int err = message.ParseMessage(MyStream, "", "", SBMIME.__Global.mpoLoadData, false, false, false);

if (err != 0)
{
    Console.WriteLine("Message parsing error: {0}", err);
    return;
}

How To articles about MIME

Discuss this help topic in SecureBlackbox Forum