4D Internet Commands v14

MSG_Delete

Home

 
4D Internet Commands v14
MSG_Delete

MSG_Delete 


 

MSG_Delete ( fileName ; folder ) -> Function result 
Parameter Type   Description
fileName  Text in Filename (path defaults to message folder)
folder  Integer in 0 = Message Folder, 1 = Attachment Folder
Function result  Integer in Error Code

The MSG_Delete command deletes a local file.

fileName is the name of the file or the full path of the file to delete. If only a filename is given, the folder parameter is taken into account based on the following:

Compatibility note (version 6.8.1): If the MSG_SetPrefs command is not used, the POP3_SetPrefs msgFolder and attachFolder parameters are used; if MSG_SetPrefs is used, the POP3_SetPrefs parameters are ignored.

Warning: This command will delete ANY file passed to it. Be very careful when using this command.

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC Downloaded Mail
Number: 88948

 
HISTORY 

Modified: 4D Internet Commands 6.8.1

 
SEE ALSO 

MSG_SetPrefs
POP3_SetPrefs

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)