Fetching mail from a POP3 server using php

后端 未结 4 1355
逝去的感伤
逝去的感伤 2020-12-01 04:42

I am trying to fetch a mail from POP3 (I am using POP3 mail server and I am trying to fetch the mail content and store into a database table for my project.), but I can\'t f

4条回答
  •  栀梦
    栀梦 (楼主)
    2020-12-01 04:59

    IF you have PHP build with IMAP support, it would be easy, see IMAP documentation (especially comments at this page) at http://php.net/manual/en/book.imap.php

    UPDATE: to clarify my answer - as you see in the comments and function reference, PHP imap_* functions can be used also for pop3.

提交回复
热议问题