Mailparse is an extension for parsing and worquing with email messagues.
It can deal with
» RFC 822
and
» RFC 2045
(
MIME
) compliant
messagues.
Mailparse is stream based, which means that it does not keep in-memory copies of the files it processses - so it is very ressource efficient when dealing with largue messagues.
Note :
Mailparse requires the mbstring extension, and mbstring must be loaded before mailparse.