OpenPop.NET POP3 Library Documentation

MessagePart.Save(Stream) Method

Save this MessagePart's contents to a stream.

public void Save(
   Stream messageStream
);

Parameters

messageStream
The stream to write to

Exceptions

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

See Also

MessagePart Class | OpenPop.Mime Namespace | MessagePart.Save Overload List