POP3_Delete function

Call the POP3_Delete function to delete a message or delete all messages from the server.

Format:

Delete all messages:

iRet = POP3_Delete()

delete one message:

iRet = POP3_Delete(Integer MsgId)

Parameters:

Example:

// Delete the message id 1
POP3_Connect("AgileLoadMailServer", 110, "info@agileload.com", "xxxx");
POP3_Delete(1);
POP3_Disconnect();

// Delete all messages
POP3_Connect("AgileLoadMailServer", 110, "info@agileload.com", "xxxx");
POP3_Delete();
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