Proper way to decode incoming email subject (utf 8)

前端 未结 6 644
小蘑菇
小蘑菇 2020-12-16 16:28

I\'m trying to pipe my incoming mails to a PHP script so I can store them in a database and other things. I\'m using the class MIME E-mail message parser (registration requi

6条回答
  •  死守一世寂寞
    2020-12-16 16:56

    Would the imap-mime-header-decode function help here?

    Found myself in a similar situation today.

    http://www.php.net/manual/en/function.imap-mime-header-decode.php

提交回复
热议问题