LumiSoft Net Help
ParseFromByte Method (data, headerEncoding)
Namespaces ► LumiSoft.Net.Mail ► Mail_Message ► ParseFromByte(array<Byte>[]()[][], Encoding)
Parses mail message from the specified byte array.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public static Mail_Message ParseFromByte(
    	byte[] data,
    	Encoding headerEncoding
    )

    Public Shared Function ParseFromByte (
    	data As Byte(),
    	headerEncoding As Encoding
    ) As Mail_Message

    public:
    static Mail_Message^ ParseFromByte(
    	array<unsigned char>^ data,
    	Encoding^ headerEncoding
    )

    static member ParseFromByte :
            data : byte[] *
            headerEncoding : Encoding -> Mail_Message

Parameters

data (array<Byte>[]()[][])
  Mail message data.

headerEncoding (Encoding)
  Header reading encoding. If not sure UTF-8 is recommended.

Return Value
Mail_Message
Returns parsed mail message.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when data or headerEncoding is null reference.

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