Parses mail message from the specified file.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static Mail_Message ParseFromFile( string file, Encoding headerEncoding )
Public Shared Function ParseFromFile ( file As String, headerEncoding As Encoding ) As Mail_Message
public: static Mail_Message^ ParseFromFile( String^ file, Encoding^ headerEncoding )
static member ParseFromFile : file : string * headerEncoding : Encoding -> Mail_Message
Return Value
Mail_Message
Returns parsed mail message.
Returns parsed mail message.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when file or headerEncoding is null. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119