Discuss this help topic in SecureBlackbox Forum

TElPOP3Client.OnMessageLine

TElPOP3Client     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when the message is retrieved from the server.

Declaration

[C#/Java]
    event TSBPOP3TextLineEvent OnMessageLine;
    delegate void TSBPOP3TextLineEvent(object Sender, string Info);

[VB.NET]
    Event OnMessageLine As TSBPOP3TextLineEvent
    Delegate Sub TSBPOP3TextLineEvent(ByVal Sender As Object, ByVal Info As String)

[Pascal]
    property OnMessageLine: TSBPOP3TextLineEvent;
    TSBPOP3TextLineEvent = procedure(Sender : TObject; Info : string) of object;

[C++]
    void get_OnMessageLine(TSBPOP3TextLineEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMessageLine(TSBPOP3TextLineEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPOP3TextLineEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcInfo, int32_t szInfo);

[PHP]
    TSBPOP3TextLineEvent|callable|NULL get_OnMessageLine()
    void set_OnMessageLine(TSBPOP3TextLineEvent|callable|NULL $Value)
    callable TSBPOP3TextLineEvent(TObject $Sender, string $Info)

Parameters

  • Info - contents of single line of the message being retrieved
  • pcInfo - contents of single line of the message being retrieved
  • szInfo - the length of pcInfo.

Description

    This event is fired when the client uses ReceiveMessage or ReceiveMessageLines method in the form with only Index parameter. Note, that the event is not fired when the method, used to retrieve the message, has other means to store the data. Info parameter contains the text line received from the server (this includes header and body lines).

See also:     ReceiveMessage     ReceiveMessageLines    

Discuss this help topic in SecureBlackbox Forum