mailparse_msg_get_structure
(PECL mailparse >= 0.9.0)
mailparse_msg_get_structure — Returns an array of mime section names in the supplied message
Description
array mailparse_msg_get_structure
( resource
$mimemail
)Warning
This function is currently not documented; only its argument list is available.
Parameters
-
mimemail
-
A valid MIME resource.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с почтой
- Mailparse
- mailparse_determine_best_xfer_encoding
- mailparse_msg_create
- mailparse_msg_extract_part_file
- mailparse_msg_extract_part
- mailparse_msg_extract_whole_part_file
- mailparse_msg_free
- mailparse_msg_get_part_data
- mailparse_msg_get_part
- mailparse_msg_get_structure
- mailparse_msg_parse_file
- mailparse_msg_parse
- mailparse_rfc822_parse_addresses
- mailparse_stream_encode
- mailparse_uudecode_all
Коментарии
Example of this function output:
<?php
$parse = mailparse_msg_parse_file('mail.txt');
print_r(mailparse_msg_get_structure($parse);
?>
Output will be:
Array
(
[0] => 1
[1] => 1.1
[2] => 1.1.1
[3] => 1.1.2
[4] => 1.2
)