php8.5
Home/ Manual/ mailparse / functions/ mailparse_msg_create

mailparse_msg_create

PHP function Edit on GitHub ✎

(PECL mailparse >= 0.9.0)

Create a mime mail resource

Description

mailparse_msg_create(): resource

Create a MIME mail resource.

Parameters 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

Source: reference/mailparse/functions/mailparse-msg-create.xml · from the official PHP manual (php/doc-en)