Parses mail message from the specified stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static Mail_Message ParseFromStream( Stream stream, Encoding headerEncoding )
Public Shared Function ParseFromStream ( stream As Stream, headerEncoding As Encoding ) As Mail_Message
public: static Mail_Message^ ParseFromStream( Stream^ stream, Encoding^ headerEncoding )
static member ParseFromStream : stream : Stream * headerEncoding : Encoding -> Mail_Message
Return Value
Mail_Message
Returns parsed mail message.
Returns parsed mail message.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when stream or headerEncoding is null. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119