请都下php iamp_open中的服务名称代码是怎么写的啊,这是做qq邮箱收邮件测试用的。

2024-11-20 17:29:06
推荐回答(1个)
回答(1):

$mbox = imap_open("{localhost:143}INBOX","user_id","password");
$mbox = imap_open("{localhost/pop3:110}INBOX","user_id","password");
$nntp = imap_open("{localhost/nntp:119}comp.test","","");
看你要连的是哪种服务器