MSGToEML

 

Convert EML file format to MSG file format.

 

Delphi syntax:

          function MSGToEML(MSGFileName, EMLFileName: LPCTSTR): dword; stdcall;

C++ syntax:

          DWORD WINAPI MSGToEML(LPCTSTR MSGFileName, LPCTSTR EMLFileName);

C# syntax:

          public static extern int MSGToEML(

            [MarshalAs(UnmanagedType.LPStr)]StringBuilder, msgFileName

            [MarshalAs(UnmanagedType.LPStr)]StringBuilder emlFileName);

        

Parameters:

 

MSGFileName

Name of file with the mail massage.

 

EMLFileName

Name of file with the mail massage.

 

 

Return Values:

On success return OMS_OK or Error Code if fails.