Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.Fetch

TElIMAPClient     See also     


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


Retrieves messages from the server.

Declaration

[C#]
    TElIMAPFetchResponse Fetch(int First, int Last, bool UID, string DataItemNames);
    TElIMAPFetchResponse Fetch(TElIMAPFetchResponse Sequence, string DataItemNames);

[VB.NET]
    Function Fetch(ByVal First As Integer, ByVal Last As Integer, ByVal UID As Boolean, ByVal DataItemNames As String) As TElIMAPFetchResponse
    Function Fetch(ByVal Sequence As TElIMAPFetchResponse, ByVal DataItemNames As String) As TElIMAPFetchResponse

[Pascal]
    function Fetch(First : Integer; Last : Integer; UID : Boolean; DataItemNames : string) : TElIMAPFetchResponse;
    function Fetch(Sequence : TElIMAPFetchResponse; DataItemNames : string) : TElIMAPFetchResponse;

[C++]
    TElIMAPFetchResponseHandle Fetch(int32_t First, int32_t Last, bool UID, const std::string &DataItemNames);
    TElIMAPFetchResponseHandle Fetch(TElIMAPFetchResponse &Sequence, const std::string &DataItemNames);
    TElIMAPFetchResponseHandle Fetch(TElIMAPFetchResponse *Sequence, const std::string &DataItemNames);

[PHP]
    TElIMAPFetchResponse Fetch(integer $First, integer $Last, bool $UID, string $DataItemNames)
    TElIMAPFetchResponse Fetch(TElIMAPFetchResponse $Sequence, string $DataItemNames)

[Java]
    TElIMAPFetchResponse fetch(TElIMAPFetchResponse Sequence, String DataItemNames);
    TElIMAPFetchResponse fetch(int First, int Last, boolean UID, String DataItemNames);

Parameters

  • First - specifies the first message to be retrieved.
  • Last - specifies the last message to be retrieved.
  • UID - defines whether parameters First and Last specify message sequence numbers (UID is false) or message UIDs (UID is true).
  • DataItemNames - specifies the elements to be retrieved as defined in [RFC 3501].
  • Sequence - defines the sequence of messages to be retrieved.

Return value

    Returns TElIMAPFetchResponse object which provides access to all response lines.

Description

    Use this method to fetch a list of messages from the server. This method only retrieves certain information about messages specified by the DataItemNames parameter. To get the whole message, use FetchMessage method.

See also:     FetchMessage    

Discuss this help topic in SecureBlackbox Forum