Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<mailparse_determine_best_xfer_encodingmailparse_msg_extract_part>
^Mailparse FunctionsLast updated: Mon, 26 Oct 2026

mailparse_msg_create

(PECL mailparse >= 0.9.0)

mailparse_msg_create — Create a mime mail resource

Description

function mailparse_msg_create(): resource

Create a MIME mail resource.

Parameters

This function has no parameters.

Return Values

Returns a handle that can be used to parse a message.

Notes

Note:

It is recommended to call mailparse_msg_free() on the result of this function, when it is no longer needed, to avoid memory leaks.

See Also


<mailparse_determine_best_xfer_encodingmailparse_msg_extract_part>
^Mailparse FunctionsLast updated: Mon, 26 Oct 2026