Discuss this help topic in SecureBlackbox Forum

TElPOP3Client.OnMessageID

TElPOP3Client     See also     


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


This event is fired when message id list is requested from the server.

Declaration

[C#]
    event TSBPOP3MessageIdEvent OnMessageID;
    delegate void TSBPOP3MessageIdEvent(Object Sender, int Index, string ID);

[VB.NET]
    Event OnMessageID As TSBPOP3MessageIdEvent
    Delegate Sub TSBPOP3MessageIdEvent(ByVal Sender As Object, ByVal Index As Integer, ByVal ID As String)

[Pascal]
    property OnMessageID: TSBPOP3MessageIDEvent;
    TSBPOP3MessageIDEvent = procedure(Sender : TObject; Index: integer; ID: string) of object;

[C++]
    void get_OnMessageID(TSBPOP3MessageIdEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMessageID(TSBPOP3MessageIdEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPOP3MessageIdEvent)(void * _ObjectData, TObjectHandle Sender, int32_t Index, const char * pcID, int32_t szID);

[PHP]
    TSBPOP3MessageIdEvent|callable|NULL get_OnMessageID()
    void set_OnMessageID(TSBPOP3MessageIdEvent|callable|NULL $Value)
    callable TSBPOP3MessageIdEvent(TObject $Sender, integer $Index, string $ID)

[Java]
    TSBPOP3MessageIdEvent getOnMessageID();
    void setOnMessageID(TSBPOP3MessageIdEvent Value);
    TSBPOP3MessageIdEvent.Callback OnMessageID = new TSBPOP3MessageIdEvent.Callback() {
        public void TSBPOP3MessageIdEventCallback(TObject Sender, int Index, String ID) {
            //...
        }
    }

Parameters

  • Index - message index
  • ID - message ID
  • pcID - message ID
  • szID - the length of pcID.

Description

    This event is fired when the client retrieves the list of message IDs using ReceiveMessageIDList method.

See also:     ReceiveMessageIDList    

Discuss this help topic in SecureBlackbox Forum