Best way to handle email parsing/decoding in PHP?

前端 未结 6 1692
鱼传尺愫
鱼传尺愫 2020-12-05 14:15

Currently I\'m using the PEAR library\'s mimeDecode.php for parsing incoming emails. It seems to have a lot of issues and fails to decode a lot of messages, so I\'d like to

6条回答
  •  难免孤独
    2020-12-05 14:51

    I forked the php-mime-mail-parser to correct all the issues : Fork of php-mime-mail-parser

    More than 52 tests and 764 assertions Code Coverage : 100% lines, 100% Functions and Methods, 100% Classes and Traits

    You need the PECL Package MailParse to use it but the wrapper is without issue and fully tested.

提交回复
热议问题