How do I use the FindFiles() function in MML?
How do I retrieve a list of the files contained in a users mailbox using the FindFiles() function.
You can retrieve a list of files within MML by using the FindFiles() function. However you need to remember to escape the folders.
myFiles = FindFiles("\domain.comusersusername*")
This will get the files from the gordanodomain.comusersusername folder.
Escaping is necessary for certain characters that have special meaning to MML. In this example the character has special meaning, the character is also the escape character.
In the example above you would expect to write
but as the is a special character it must be escaped.
For further information on escaping and special characters please refer to the MML documentation included in the Accessory Pack.
Keywords:MML, files, open, close, read, FindFiles