Message.Load(Stream) Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

Message.Load(Stream) Method

Loads a Message from a Stream containing a raw email.

public static Message Load(
   Stream messageStream
);

Parameters

messageStream
The Stream from which to load the raw Message

Return Value

A Message with the content loaded from the messageStream

Exceptions

Exception Type Condition
ArgumentNullException If messageStream is a null reference
Other exceptions relevant to Read might be thrown as well

See Also

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