GetFile
GetFile(nIndex As Integer, ByRef FileName As String[, PathName As String]) As Boolean
With this function, you can retrieve the file enclosed in the current mail at index <nIndex>. The full pathname of the file is copied in FileName.
To retrieve all the files, call this function until FileName is empty or until return is false. By default, the files are deleted when the current mail is purged or destroyed. If you want to keep a file, fill the parameter PathName and the file will be moved to this location.