POP3_ReadAndDelete function

Call the POP3_ReadAndDelete function to read and delete a message or read and delete all messages from the server.

Format:

Read and Delete all messages:

iRet = POP3_ReadAndDelete()

read and delete one message:

iRet = POP3_ReadAndDelete(Integer MsgId)

Parameters:

Example:

// Read and Delete the message id 1
POP3_Connect("AgileLoadMailServer", 110, "[email protected]", "xxxx");
POP3_ReadAndDelete(1);
POP3_Disconnect();

// Read and Delete all messages
POP3_Connect("AgileLoadMailServer", 110, "[email protected]", "xxxx");
POP3_ReadAndDelete();
POP3_Disconnect();

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap