4D Internet Commands v16

POP3_Delete

Home

 
4D Internet Commands v16
POP3_Delete

POP3_Delete 


 

POP3_Delete ( pop3_ID ; startMsg ; endMsg ) -> Function result 
Parameter Type   Description
pop3_ID  Longint in Reference to a POP3 login
startMsg  Longint in Starting message number
endMsg  Longint in Ending message number
Function result  Integer in Error Code

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 

POP3_Logout

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC POP3 Review Mail
Number: 88965

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)