Method MIMEContent():getFileName() Professional

Retrieves the original file name of a single part.

Syntax
:getFileName() --> cFileName | NIL
Return

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.

Description

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.

Feedback

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.