Sends the LIST command to the server, which responds with a maildrop.
WebAPI.bdh
WebPopList( in hPop: number, in nMsg: 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 |
nMsg | Number of the message to list. Pass the IGNORE flag to the function to disable use of this parameter |
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); WebPopRset(hPop); WebPopQuit(hPop); WebPopShutdown(hPop); end TWebPop3;
WebMulti01.bdf
eMail.sep