Mailparse
PHP Manual

Введение

Mailparse is an extension for parsing and working with email messages. It can deal with » RFC 822 and » RFC 2045 (MIME) compliant messages.

Mailparse is stream based, which means that it does not keep in-memory copies of the files it processes - so it is very resource efficient when dealing with large messages.

Замечание:

Mailparse requires the mbstring extension, and mbstring must be loaded before mailparse.

Это расширение было перемещно в репозиторий » PECL и больше не поставляется с PHP 4.2.0.


Mailparse
PHP Manual