Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.OnCapability

TElIMAPClient     See also     


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


This event is fired when the client has received the CAPABILITY response.

Declaration

[C#]
    event TSBIMAPTextLineEvent OnCapability;
    delegate void TSBIMAPTextLineEvent(Object Sender, string Info);

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

[Pascal]
    event OnCapability : TSBIMAPTextLineEvent delegate FOnCapability;
    TSBIMAPTextLineEvent = procedure(Sender : TObject; const Info : string) of object;

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

[PHP]
    TSBIMAPTextLineEvent|callable|NULL get_OnCapability()
    void set_OnCapability(TSBIMAPTextLineEvent|callable|NULL $Value)
    callable TSBIMAPTextLineEvent(TObject $Sender, string $Info)

[Java]
    TSBIMAPTextLineEvent getOnCapability();
    void setOnCapability(TSBIMAPTextLineEvent Value);
    TSBIMAPTextLineEvent.Callback OnCapability = new TSBIMAPTextLineEvent.Callback() {
        public void TSBIMAPTextLineEventCallback(TObject Sender, String Info) {
            //...
        }
    }

Parameters

  • Info - contains the response body.
  • pcInfo - contains the response body.
  • szInfo - the length of pcInfo.

Description

    This event is fired when the CAPABILITY response has been received from the server. You can also check the server's capabilities using the Capabilities property.

See also:     Capabilities     ObtainCapabilities    

Discuss this help topic in SecureBlackbox Forum