Method MIMEContent():getFileName() Professional
Retrieves the original file name of a single part.
:getFileName() --> cFileName | NIL
The method returns a character string containing the original file name of a single part of an e-mail, or NIL if there is no file name.
When files are transferred as e-mail attachments, the original file names can be retrieved with this method. The file contents are then obtained from a MIMEContent object with its :getMessage() method. This way, an attached file can be stored locally under its original file name.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.