Part.getFilename

Gets the filename of the specificed mime part, or null if the mime_part does not have the filename or name parameter set.

class Part
string
getFilename
()

Return Value

Type: string

the filename of the specified mime_part or null if neither of the parameters is set. If a file name is set, the returned string will be in UTF-8.