mailparse_msg_get_structure

PECL mailparse >= 0.9.0
mailparse_msg_get_structure - Returns an array of mime section names in the supplied message
Manual

mailparse_msg_get_structure( resource$mimemail ): array
Warning:

This function is currently not documented; only its argument list is available.

Parameters

mimemail

A valid MIME resource.