php获取邮件内容

<?php

//163邮箱
$hostname = "{pop3.163.com:110/pop3}INBOX";
$inbox = imap_open($hostname, $username, $password);
$emails = imap_search($inbox, $search_criteria);

$result = imap_fetch_overview($inbox, implode(',', $emails), 0);










 


posted @ 2023-09-04 16:07  王芬老师  阅读(71)  评论(0编辑  收藏  举报