EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElMessage.AssembleMessage

TElMessage     See also    


 

This method assembles body and all header fields into one message.

 
 

Declaration

[C#]
     int AssembleMessage(TElNativeStream Destination, [in] AnsiString Charset, TElHeaderEncoding HeaderEncoding, [in] AnsiString BodyEncoding, [in] AnsiString AttachEncoding, bool bAssembleSource /* = False */);
     int AssembleMessage(TElNativeStream Destination, bool bAssembleSource /* = False */);

[VB.NET]
    Function AssembleMessage(ByVal Destination As TElNativeStream, ByVal Charset As AnsiString, ByVal HeaderEncoding As TElHeaderEncoding, ByVal BodyEncoding As AnsiString, ByVal AttachEncoding As AnsiString, ByVal bAssembleSource As Boolean = False) As Integer
    Function AssembleMessage(ByVal Destination As TElNativeStream, ByVal bAssembleSource As Boolean = False) As Integer

[Pascal]
    function AssembleMessage( Destination: TElNativeStream; const Charset: AnsiString; HeaderEncoding: TElHeaderEncoding; const BodyEncoding; AttachEncoding: AnsiString; bAssembleSource: Boolean = False): ELMIMERESULT;
    function AssembleMessage( Destination: TElNativeStream; bAssembleSource: Boolean = False): ELMIMERESULT;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • Destination - stream in which assembled data will be written.
  • Charset - charset of the message.
  • HeaderEncoding - type of the header encoding.
  • BodyEncoding - type of text parts encoding.
  • AttachEncoding - type of attach encoding.
  • bAssembleSource - shows assembling type. True - loaded message will be assembled in its unmodified state.
    Default value - False.
 
 

Return value

    Returns 0 (EL_OK) on success, 1 (EL_WARNING) if information can't be encoded with given Charset and encodings.
    Error otherwise.

 
 

Description

    Use this method to compose the message and save it to stream.
    AssembleMessage has the functionality opposite to ParseMessage method.

Note, that if you are using "short" form of AssembleMessage() method call, you can specify missing parameters with Charset, HeaderEncoding, BodyEncoding and AttachEncoding properties.

 
 

See also:     AttachEncoding     BodyEncoding     Charset     HeaderEncoding     ParseMessage    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation