|
This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
4D v20
MSG_Delete
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MSG_Delete ( fileName ; folder ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| fileName | Text |
|
Filename (path defaults to message folder) | |||||
| folder | Integer |
|
0 = Message Folder, 1 = Attachment Folder | |||||
| Function result | Integer |
|
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.
Product: 4D
Theme: IC Downloaded Mail
Number:
88948
Modified: 4D Internet Commands 6.8.1
4D Internet Commands ( 4D v20)
Add a comment