Sends the No Operation command to the server. This command can be used to check the availability of the POP3 server.
WebAPI.bdh
WebPopNoop( in hPop: 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 |
dcltrans transaction TWebPop3 const USERNAME := "username"; PASSWORD := "password"; var hPop, nMessages, nSize: number; begin WebPopConnect(hPop, "standardhost", WEB_PORT_POP3); WebPopUser(hPop, USERNAME); WebPopPass(hPop, PASSWORD); WebPopStat(hPop, nMessages, nSize); WebPopList(hPop, IGNORE); WebPopNoop(hPop); WebPopQuit(hPop); WebPopShutdown(hPop); end TWebPop3;