The imap mailbox extension uses the imap protocol to read qq messages and report errors.

use the imap extension of php to receive qq messages as follows:

$mailbox = "{imap.qq.com:993/imap/ssl} INBOX";
$username = "qq ";
$password = "qq ";
$res = imap_open($mailbox , $username , $password);
// 
$count = imap_num_msg($res);
var_dump($count);

the above code reported an error:

clipboard.png

Why is this?

Nov.16,2021

folder not exist?

folder does not exist?


remove spaces
{imap.qq.com:993/imap/ssl} INBOX


correct writing: {imap.qq.com:993/ssl} INBOX

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37d81-2c0c1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37d81-2c0c1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?