<?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);