Discuss this help topic in SecureBlackbox Forum

TElPOP3Client.OnCapability

TElPOP3Client     See also     


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


This event is fired when capabilities are requested from the server.

Declaration

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

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

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

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

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

Parameters

  • Info - contents of single line of capability response
  • pcInfo - contents of single line of capability response
  • szInfo - the length of pcInfo.

Description

    This event is fired when the client requests capabilities from the server. Depending on the value of AutoCAPA property capabilities can be requested automatically or when you call GetCapabilities method. Your code can analyze parameters of various server capabilities.

See also:     AutoCAPA     GetCapabilities    

Discuss this help topic in SecureBlackbox Forum