Message Constructor

OpenPop.NET

OpenPop.NET POP3 Library Documentation

Message Constructor

Constructs a message from a byte array.

The headers are always parsed, but if parseBody is false, the body is not parsed.

Message(
   byte[] rawMessageContent,
   bool parseBody
);

Parameters

rawMessageContent
The byte array which is the message contents to parse
parseBody
true if the body should be parsed, false if only headers should be parsed out of the rawMessageContent byte array

See Also

Message Class | OpenPop.Mime Namespace | Message Constructor Overload List