LumiSoft Net Help
ParseFromFile Method (file, headerEncoding)
NamespacesLumiSoft.Net.MIMEMIME_MessageParseFromFile(String, Encoding)
Parses MIME message from the specified file.
Declaration Syntax
C#Visual BasicVisual C++F#
public static MIME_Message ParseFromFile(
	string file,
	Encoding headerEncoding
)
Public Shared Function ParseFromFile ( 
	file As String,
	headerEncoding As Encoding
) As MIME_Message
public:
static MIME_Message^ ParseFromFile(
	String^ file, 
	Encoding^ headerEncoding
)
static member ParseFromFile : 
        file : string * 
        headerEncoding : Encoding -> MIME_Message 
Parameters
file (String)
File name with path from where to parse MIME message.
headerEncoding (Encoding)
Header reading encoding. If not sure UTF-8 is recommended.
Return Value
MIME_Message
Returns parsed MIME message.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when file or headerEncoding is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119