Retrieves a standard single-line response from the POP3 server.
WebAPI.bdh
WebPopResponse( in hPop : number, out sResponse : string, in nMaxLen : number): boolean;
true if the response was successfully received and the server confirmed with "+OK"
false otherwise
Parameter | Description |
---|---|
hPop | Handle to a Web connection that was created by WebPopConnect |
sResponse | String buffer to hold the response. Can be set to NULL to use the internal buffer. The complete response is read from the server even if sResponse is too short to hold it. |
nMaxLen | Maximum size of the returned response. Specify STRING_COMPLETE to get all received data. |
WebPopResponse(hPop, sResponse, STRING_COMPLETE); WebPopResponse(hPop, NULL, 0);