Sends a command string to a POP3 server.
WebAPI.bdh
WebPopCommand( in hPop : number, in sCommand : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hPop | Handle to a Web connection that was created by WebPopConnect |
sCommand | Command string. Make sure to append a carriage return and a line feed command ("\r\n") to the command string. |
dcltrans transaction TWebPopCommand const USERNAME := "username"; PASSWORD := "password"; COMMAND := "...\r\n"; // specify command string var hPop: number; begin WebPopConnect(hPop, "standardhost", WEB_PORT_POP3); WebPopUser(hPop, USERNAME); WebPopPass(hPop, PASSWORD); WebPopCommand(hPop, COMMAND); WebPopQuit(hPop); WebPopShutdown(hPop); end TWebPopCommand;