version 6.5
POP3_Delete (pop3_ID; startMsg; endMsg) Integer
Parameter | Type | Description | |
pop3_ID | Longint | Reference to a POP3 login | |
startMsg | Longint | Starting message number | |
endMsg | Longint | Ending message number | |
Function result | Integer | Error Code |
Description
Given a range of messages from startMsg to endMsg, the POP3_Delete command will mark each message to be deleted. The act of deleting the message does not occur until you successfully issue the POP3_Logout command. If your current session terminates for any reason (timeout, network failure, etc.) prior to calling the POP3_Logout command, any messages marked for deletion will remain on the POP3 server.
pop3_ID is a long integer reference to an open session created with POP3_Login.
startMsg is a long integer number which is the starting message number of the messages to delete.
endMsg is a long integer number which is the ending message number of the messages to delete.
Note: The POP3_Delete, POP3_MsgLstInfo and POP3_MsgLst commands do not return an error if the startMsg is greater than the endMsg. In the event that this occurs, this command in effect does nothing.
See Also