php imap - get body and make plain text

后端 未结 6 1916
故里飘歌
故里飘歌 2020-12-30 02:18

I am using the PHP imap function to get emails from a POP3 mailbox and insert the data into a MySQL database.

Here is the PHP code:

$inbox = imap_ope         


        
6条回答
  •  误落风尘
    2020-12-30 03:00

    I tried all this answers, but neither one worked for me. Then I hit first user contributed note on this PHP page:

    http://php.net/manual/en/function.imap-fetchstructure.php

    and this works for all my cases. Quite old answer btw.

提交回复
热议问题