Discuss this help topic in SecureBlackbox Forum

TElPOP3Client.OnMessageSize

TElPOP3Client     See also     


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


This event is fired when message information is requested from the server.

Declaration

[C#]
    event TSBPOP3MessageSizeEvent OnMessageSize;
    delegate void TSBPOP3MessageSizeEvent(Object Sender, int Index, long Size);

[VB.NET]
    Event OnMessageSize As TSBPOP3MessageSizeEvent
    Delegate Sub TSBPOP3MessageSizeEvent(ByVal Sender As Object, ByVal Index As Integer, ByVal Size As Long)

[Pascal]
    property OnMessageSize: TSBPOP3MessageSizeEvent;
    TSBPOP3MessageSizeEvent = procedure(Sender : TObject; Index: integer; Size: Int64) of object;

[C++]
    void get_OnMessageSize(TSBPOP3MessageSizeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnMessageSize(TSBPOP3MessageSizeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPOP3MessageSizeEvent)(void * _ObjectData, TObjectHandle Sender, int32_t Index, int64_t Size);

[PHP]
    TSBPOP3MessageSizeEvent|callable|NULL get_OnMessageSize()
    void set_OnMessageSize(TSBPOP3MessageSizeEvent|callable|NULL $Value)
    callable TSBPOP3MessageSizeEvent(TObject $Sender, integer $Index, integer $Size)

[Java]
    TSBPOP3MessageSizeEvent getOnMessageSize();
    void setOnMessageSize(TSBPOP3MessageSizeEvent Value);
    TSBPOP3MessageSizeEvent.Callback OnMessageSize = new TSBPOP3MessageSizeEvent.Callback() {
        public void TSBPOP3MessageSizeEventCallback(TObject Sender, int Index, long Size) {
            //...
        }
    }

Parameters

  • Index - message index
  • Size - message size

Description

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

See also:     ReceiveMessageIDList    

Discuss this help topic in SecureBlackbox Forum